aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/libGLU
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2013-05-03 21:17:00 +0800
committerbapt <bapt@FreeBSD.org>2013-05-03 21:17:00 +0800
commiteac14c44303fb19eecfed42a45922de19b61e4a5 (patch)
treedb1ae85b1e22011569a5f4a40155d37eda1d2e37 /graphics/libGLU
parent41692b6e72186a05504ba06894fe7c5bb89b32a2 (diff)
downloadfreebsd-ports-gnome-eac14c44303fb19eecfed42a45922de19b61e4a5.tar.gz
freebsd-ports-gnome-eac14c44303fb19eecfed42a45922de19b61e4a5.tar.zst
freebsd-ports-gnome-eac14c44303fb19eecfed42a45922de19b61e4a5.zip
Do not run twice gmake install,
Only build the necessary bits and not the whole mesa
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"