svn commit: r317202 - head/graphics/libGLU

Baptiste Daroussin bapt at FreeBSD.org
Fri May 3 13:17:01 UTC 2013


Author: bapt
Date: Fri May  3 13:17:00 2013
New Revision: 317202
URL: http://svnweb.freebsd.org/changeset/ports/317202

Log:
  Do not run twice gmake install,
  Only build the necessary bits and not the whole mesa

Modified:
  head/graphics/libGLU/Makefile

Modified: head/graphics/libGLU/Makefile
==============================================================================
--- head/graphics/libGLU/Makefile	Fri May  3 13:11:44 2013	(r317201)
+++ head/graphics/libGLU/Makefile	Fri May  3 13:17:00 2013	(r317202)
@@ -11,11 +11,12 @@ COMMENT=	OpenGL utility library
 USE_GL=		gl
 USE_XORG=	glproto x11 xext xxf86vm xdamage xfixes dri2proto
 
-do-install:
+INSTALL_WRKSRC=	${WRKSRC}/src/glu
+BUILD_WRKSRC=	${WRKSRC}/src/glu
+
+pre-install:
 	@${MKDIR} ${PREFIX}/include/GL/
-	cd ${WRKSRC}/src/glu; ${GMAKE} install
 	${INSTALL_DATA} ${WRKSRC}/include/GL/glu*.h ${PREFIX}/include/GL/
-	cd ${WRKSRC}/src/glu; ${GMAKE} install
 
 .include "${.CURDIR}/../../graphics/libGL/bsd.mesalib.mk"
 


More information about the svn-ports-all mailing list