blob: 58b3039d873e5e8a46eb2f34f09fcc4f85c03e68 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# $NetBSD: Makefile,v 1.57 2009/08/25 07:29:18 hasso Exp $
PKGNAME= glu-${MESA_PKGVERSION}
PKGREVISION= 2
COMMENT= GLU polygon tessellation facility for Mesa
CONFLICTS+= Mesa-glx-[0-9]*
CONFLICTS+= Mesa<3.2.1
MESA_HEADERS= glu.h glu_mangle.h
PKGCONFIG_OVERRIDE+= src/glu/glu.pc.in
# no configure stage
PKGCONFIG_OVERRIDE_STAGE= pre-build
.include "../../graphics/Mesa/Makefile.lib"
BUILDLINK_API_DEPENDS.MesaLib+= MesaLib>=${MESA_VERSION}
.include "../../graphics/MesaLib/buildlink3.mk"
post-extract:
${GREP} '^[[:cntrl:]][g][l][u]' ${WRKSRC}/src/glu/sgi/glu.def \
| ${SED} -e 's,^[[:cntrl:]],,' > ${WRKSRC}/src/glu/sgi/glu.sym
${RM} ${WRKSRC}/src/glu/sgi/glu.exports
${CP} ${FILESDIR}/glu.exports.in ${WRKSRC}/src/glu/sgi/
pre-build:
cd ${WRKSRC} && ${RM} -fr src/glx src/mesa src/glut src/glw progs
# no configure phase
.include "../../mk/configure/pkg-config-override.mk"
.include "../../mk/bsd.pkg.mk"
|