aboutsummaryrefslogtreecommitdiff
path: root/graphics/libGLU
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-05-03 13:17:00 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-05-03 13:17:00 +0000
commitc6416e09877d4ed3e1811d053a46bd79b406ff40 (patch)
treedb1ae85b1e22011569a5f4a40155d37eda1d2e37 /graphics/libGLU
parentf40f5bf27806965595ad7a4f73b92f7fd6d1b037 (diff)
downloadports-c6416e09877d4ed3e1811d053a46bd79b406ff40.tar.gz
ports-c6416e09877d4ed3e1811d053a46bd79b406ff40.zip
Do not run twice gmake install,
Only build the necessary bits and not the whole mesa
Notes
Notes: svn path=/head/; revision=317202
Diffstat (limited to 'graphics/libGLU')
-rw-r--r--graphics/libGLU/Makefile7
1 files changed, 4 insertions, 3 deletions
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"