Pull in mesalib/hacks.mk, fix PLIST + builds.

This commit is contained in:
Blair Sadewitz 2008-03-03 06:02:04 +00:00 committed by Thomas Klausner
parent e625fb3d95
commit 06709ea9dc
5 changed files with 16 additions and 5 deletions

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.4 2008/03/03 04:13:21 bsadewitz Exp $
# $NetBSD: Makefile,v 1.5 2008/03/03 06:02:04 bsadewitz Exp $
PKGNAME= glu-${MESA_PKGVERSION}
COMMENT= GLU polygon tessellation facility for Mesa
@ -14,6 +14,6 @@ BUILDLINK_API_DEPENDS.MesaLib+= MesaLib>=${MESA_VERSION}
.include "../../wip/MesaLib/buildlink3.mk"
pre-build:
cd ${WRKSRC} && ${RM} -fr src/mesa src/glut src/glw progs
cd ${WRKSRC} && ${RM} -fr src/glx src/mesa src/glut src/glw progs
.include "../../mk/bsd.pkg.mk"

View file

@ -1,3 +1,6 @@
@comment $NetBSD: PLIST,v 1.3 2008/02/26 06:47:37 bsadewitz Exp $
@comment $NetBSD: PLIST,v 1.4 2008/03/03 06:02:04 bsadewitz Exp $
include/GL/glu.h
include/GL/glu_mangle.h
lib/libGLU.la
lib/pkgconfig/glu.pc
@comment in graphics/MesaLib: @dirrm include/GL

4
glu/hacks.mk Normal file
View file

@ -0,0 +1,4 @@
.if !defined(GLU_HACKS_MK)
GLU_HACKS_MK= # defined
. include "../../MesaLib/hacks.mk"
.endif

View file

@ -1,5 +1,5 @@
@comment $NetBSD: PLIST,v 1.3 2008/02/26 06:47:37 bsadewitz Exp $
@comment $NetBSD: PLIST,v 1.4 2008/03/03 06:02:04 bsadewitz Exp $
include/GL/glut.h
include/GL/glutf90.h
lib/libglut.la
@unexec ${RMDIR} %D/include/GL >/dev/null 2>&1 || ${TRUE}
@comment in graphics/MesaLib: @dirrm include/GL

4
glut/hacks.mk Normal file
View file

@ -0,0 +1,4 @@
.if !defined(GLUT_HACKS_MK)
GLUT_HACKS_MK= # defined
. include "../../MesaLib/hacks.mk"
.endif