| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile.lib,v 1.15 2013/05/16 05:04:56 richard Exp $ | | 1 | # $NetBSD: Makefile.lib,v 1.16 2013/12/29 16:28:15 bsiegert Exp $ |
2 | # | | 2 | # |
3 | # This Makefile fragment is included by all packages that build libraries | | 3 | # This Makefile fragment is included by all packages that build libraries |
4 | # from the Mesa sources. | | 4 | # from the Mesa sources. |
5 | # | | 5 | # |
6 | # used by graphics/glu/Makefile | | 6 | # used by graphics/glu/Makefile |
7 | # used by graphics/glut/Makefile | | 7 | # used by graphics/glut/Makefile |
8 | # used by graphics/MesaDemos/Makefile | | 8 | # used by graphics/MesaDemos/Makefile |
9 | # used by graphics/MesaLib/Makefile | | 9 | # used by graphics/MesaLib/Makefile |
10 | | | 10 | |
11 | .include "../../graphics/Mesa/Makefile.common" | | 11 | .include "../../graphics/Mesa/Makefile.common" |
12 | | | 12 | |
13 | DISTFILES+= MesaLib-${MESA_VERSION}${EXTRACT_SUFX} | | 13 | DISTFILES+= MesaLib-${MESA_VERSION}${EXTRACT_SUFX} |
14 | DISTFILES+= MesaGLUT-${MESA_VERSION}${EXTRACT_SUFX} | | 14 | DISTFILES+= MesaGLUT-${MESA_VERSION}${EXTRACT_SUFX} |
| @@ -30,15 +30,20 @@ DISTINFO_FILE= ${.CURDIR}/../MesaLib/di | | | @@ -30,15 +30,20 @@ DISTINFO_FILE= ${.CURDIR}/../MesaLib/di |
30 | | | 30 | |
31 | MAKE_ENV+= MAKE=${GMAKE:Q} | | 31 | MAKE_ENV+= MAKE=${GMAKE:Q} |
32 | | | 32 | |
33 | CONFIGURE_ARGS+= --with-gallium-drivers="" | | 33 | CONFIGURE_ARGS+= --with-gallium-drivers="" |
34 | CONFIGURE_ARGS+= --disable-gallium-llvm | | 34 | CONFIGURE_ARGS+= --disable-gallium-llvm |
35 | CONFIGURE_ARGS+= --disable-egl | | 35 | CONFIGURE_ARGS+= --disable-egl |
36 | | | 36 | |
37 | .include "../../mk/compiler.mk" | | 37 | .include "../../mk/compiler.mk" |
38 | | | 38 | |
39 | .if !empty(PKGSRC_COMPILER:Mccc) | | 39 | .if !empty(PKGSRC_COMPILER:Mccc) |
40 | CFLAGS+= -D__FUNCTION__=__FILE__ | | 40 | CFLAGS+= -D__FUNCTION__=__FILE__ |
41 | .endif | | 41 | .endif |
42 | | | 42 | |
| | | 43 | .include "../../mk/bsd.prefs.mk" |
| | | 44 | .if ${OPSYS} == "MirBSD" |
| | | 45 | BUILDLINK_TRANSFORM+= rm:-fvisibility=hidden |
| | | 46 | .endif |
| | | 47 | |
43 | pre-configure: | | 48 | pre-configure: |
44 | cd ${WRKSRC} && ${MAKE} configure | | 49 | cd ${WRKSRC} && ${MAKE} configure |