From eac14c44303fb19eecfed42a45922de19b61e4a5 Mon Sep 17 00:00:00 2001 From: bapt Date: Fri, 3 May 2013 13:17:00 +0000 Subject: Do not run twice gmake install, Only build the necessary bits and not the whole mesa --- graphics/libGLU/Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'graphics/libGLU') diff --git a/graphics/libGLU/Makefile b/graphics/libGLU/Makefile index 0acf73692cab..fa90ee18f974 100644 --- a/graphics/libGLU/Makefile +++ b/graphics/libGLU/Makefile @@ -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" -- cgit