diff options
Diffstat (limited to 'graphics/mesagl/Makefile')
-rw-r--r-- | graphics/mesagl/Makefile | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/graphics/mesagl/Makefile b/graphics/mesagl/Makefile index 058a4f88a044..bdea142072e1 100644 --- a/graphics/mesagl/Makefile +++ b/graphics/mesagl/Makefile @@ -6,8 +6,7 @@ # PORTNAME= Mesa -PORTVERSION= 3.4.2 -PORTREVISION= 2 +PORTVERSION= 5.0.1 CATEGORIES= graphics MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \ ftp://iris.ssec.wisc.edu/pub/Mesa/ \ @@ -39,14 +38,14 @@ PLIST_SUB= GLVER="${GLVER}" GLUTVER="${GLUTVER}" .include <bsd.port.pre.mk> .if ${XFREE86_VERSION} == 3 -SUB_GL= src src-glu +SUB_GL= src si-glu src-glu INCLUDE_GL= include GLVER= 14 PLIST_SUB+= XFREE3:="" .else SUB_GL= INCLUDE_GL= -GLVER= 1 +GLVER= 2 PLIST_SUB+= XFREE3:="@comment " MAKE_ENV= INCLUDES="-I${X11BASE}/include -I${WRKSRC}/include -DGLCALLBACKPCAST=\*" MAKE_ARGS= -e @@ -62,16 +61,14 @@ MAKE_ENV+= SUB_GL="${SUB_GL}" \ pre-patch: @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure -post-configure: - @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' ${WRKSRC}/src/config.c - post-install: .for lib in GL GLU @${LN} -sf ${PREFIX}/lib/lib${lib}.so ${PREFIX}/lib/libMesa${lib}.so .endfor .if ${XFREE86_VERSION} > 3 ${MKDIR} ${PREFIX}/include/GL - ${INSTALL_DATA} ${WRKSRC}/include/GL/glut.h ${PREFIX}/include/GL + ${INSTALL_DATA} ${WRKSRC}/include/GL/glutf90.h \ + ${WRKSRC}/include/GL/glut.h ${PREFIX}/include/GL .endif .include <bsd.port.post.mk> |