Do not run twice gmake install,

Only build the necessary bits and not the whole mesa
This commit is contained in:
Baptiste Daroussin 2013-05-03 13:17:00 +00:00
parent f40f5bf278
commit c6416e0987
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=317202

View file

@ -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"