diff options
Diffstat (limited to 'graphics/libGL/bsd.mesalib.mk')
-rw-r--r-- | graphics/libGL/bsd.mesalib.mk | 43 |
1 files changed, 8 insertions, 35 deletions
diff --git a/graphics/libGL/bsd.mesalib.mk b/graphics/libGL/bsd.mesalib.mk index 13f06a9..ad496cb 100644 --- a/graphics/libGL/bsd.mesalib.mk +++ b/graphics/libGL/bsd.mesalib.mk @@ -21,31 +21,22 @@ MESAVERSION= ${MESABASEVERSION}${MESASUBVERSION:C/^(.)/.\1/} MESADISTVERSION=${MESABASEVERSION}${MESASUBVERSION:C/^(.)/-\1/} -.ifdef WITHOUT_NOUVEAU -BROKEN= please unset WITHOUT_NOUVEAU, support for this isn't there yet. -MESABASEVERSION= 7.6.1 +MESABASEVERSION= 7.10.3 MESASUBVERSION= -PLIST_SUB+= MESALIB76= MESALIB74="@comment " -.else -MESABASEVERSION= 7.10.1 -MESASUBVERSION= -PLIST_SUB+= MESALIB74= MESALIB76="@comment " -#EXTRA_PATCHES+= ${PATCHDIR}/mesalib74-configure -.endif -MASTER_SITES?= ftp://ftp.freedesktop.org/pub/mesa/${MESABASEVERSION}/:mesa,glut,demos -MASTER_SITE_SUBDIR= mesa3d -DISTFILES= MesaLib-${MESADISTVERSION}${EXTRACT_SUFX}:mesa +MASTER_SITES= ftp://ftp.freedesktop.org/pub/mesa/${MESABASEVERSION}/:mesa,glut +MASTER_SITES= LOCAL/kwm:mesa,glut +DISTFILES= MesaLib-${MESADISTVERSION}${EXTRACT_SUFX}:mesa MAINTAINER?= x11@FreeBSD.org -USE_BZIP2= yes -USE_GMAKE= yes +USE_BZIP2= yes +USE_GMAKE= yes USE_LDCONFIG= yes GNU_CONFIGURE= yes MAKE_JOBS_SAFE= yes -CONFIGURE_ENV= CPPFLAGS=-I${LOCALBASE}/include \ - LDFLAGS=-L${LOCALBASE}/lib +CPPFLAGS+= -I${LOCALBASE}/include +CONFIGURE_ENV= LDFLAGS=-L${LOCALBASE}/lib CONFIGURE_ARGS= --disable-gallium ALL_TARGET= default @@ -57,12 +48,6 @@ WRKSRC= ${WRKDIR}/Mesa-${MESABASEVERSION} ARCH!= uname -p .endif -.if ${ARCH} == alpha -FAST_MATH= -.else -FAST_MATH= -ffast-math -.endif - COMPONENT= ${PORTNAME:L:C/^lib//:C/mesa-//} .if ${COMPONENT:Mglut} == "" @@ -81,12 +66,7 @@ CONFIGURE_ARGS+= --disable-glw CONFIGURE_ARGS+= --enable-motif .endif -.if ${COMPONENT:Mdemos} == "" CONFIGURE_ARGS+= --with-demos=no -.else -DISTFILES+= MesaDemos-${MESADISTVERSION}${EXTRACT_SUFX}:demos -CONFIGURE_ARGS+= --with-demos=demos,xdemos -.endif .if ${COMPONENT:Mdri} == "" CONFIGURE_ARGS+= --with-dri-drivers=no @@ -110,10 +90,3 @@ post-patch: @${REINPLACE_CMD} -e 's|[$$](INSTALL_LIB_DIR)/pkgconfig|${PREFIX}/libdata/pkgconfig|' \ ${WRKSRC}/src/glut/glx/Makefile .endif -.if ${COMPONENT:Mdemos} != "" - @${REINPLACE_CMD} -e 's|../images/|${DATADIR}/images/|g' \ - -e 's|geartrain.dat|${DATADIR}/data/geartrain.dat|g' \ - -e 's|terrain.dat|${DATADIR}/data/terrain.dat|g' \ - -e 's|isosurf.dat|${DATADIR}/data/isosurf.dat|g' \ - ${WRKSRC}/progs/demos/*.c ${WRKSRC}/progs/xdemos/*.c -.endif |