diff options
author | bsiegert <bsiegert> | 2013-11-29 15:27:19 +0000 |
---|---|---|
committer | bsiegert <bsiegert> | 2013-11-29 15:27:19 +0000 |
commit | 9991e4f7790079ba7b2d08aab6c9c81543c9ba6e (patch) | |
tree | eef29be4c94b7b8129aeb97f52d8a214344ec412 /graphics | |
parent | 14b6b8781ca2675a48421562b3f30b515c3b3059 (diff) | |
download | pkgsrc-9991e4f7790079ba7b2d08aab6c9c81543c9ba6e.tar.gz |
Fix build of MesaLib on MirBSD. The mklib script needed some prodding, and
configure mis-detects -fvisibility=hidden for some reason.
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/MesaLib/Makefile | 6 | ||||
-rw-r--r-- | graphics/MesaLib/distinfo | 4 | ||||
-rw-r--r-- | graphics/MesaLib/patches/patch-bin_mklib | 8 |
3 files changed, 11 insertions, 7 deletions
diff --git a/graphics/MesaLib/Makefile b/graphics/MesaLib/Makefile index 23e6a0ed3dd..1489ccd073b 100644 --- a/graphics/MesaLib/Makefile +++ b/graphics/MesaLib/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.93 2013/06/13 14:16:21 wiz Exp $ +# $NetBSD: Makefile,v 1.94 2013/11/29 15:27:19 bsiegert Exp $ PKGNAME= MesaLib-${MESA_PKGVERSION} PKGREVISION= 2 @@ -70,4 +70,8 @@ pre-install: CFLAGS+= -no-integrated-as -fvisibility=hidden .endif +.if ${OPSYS} == "MirBSD" +BUILDLINK_TRANSFORM+= rm:-fvisibility=hidden +.endif + .include "../../mk/bsd.pkg.mk" diff --git a/graphics/MesaLib/distinfo b/graphics/MesaLib/distinfo index 276f7ef24ce..fa3da453fff 100644 --- a/graphics/MesaLib/distinfo +++ b/graphics/MesaLib/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.81 2013/09/23 02:07:00 asau Exp $ +$NetBSD: distinfo,v 1.82 2013/11/29 15:27:19 bsiegert Exp $ SHA1 (Mesa-7.11.2/MesaGLUT-7.11.2.tar.bz2) = 2e6e730204800a0748b301a5f58b86332699788b RMD160 (Mesa-7.11.2/MesaGLUT-7.11.2.tar.bz2) = bb2b140375aa13df79fcdb60a7ad0a63622dc531 @@ -7,7 +7,7 @@ SHA1 (Mesa-7.11.2/MesaLib-7.11.2.tar.bz2) = 5981ac2de8438e5f4a1f3561f2044d700c5f RMD160 (Mesa-7.11.2/MesaLib-7.11.2.tar.bz2) = 656ded1db6c1f6fdd15a3f2cdee1b895d393bcea Size (Mesa-7.11.2/MesaLib-7.11.2.tar.bz2) = 6257280 bytes SHA1 (patch-af) = da0bd412b81d4b826b6d9b4bb8d98ca1fe0006ba -SHA1 (patch-bin_mklib) = 09c216007fdaf5a0feab3834a2361d5b1912e47f +SHA1 (patch-bin_mklib) = 8c54bf5382541cab9d971b0e0e627035db1af468 SHA1 (patch-configure.ac) = 0e3f9a1f21ba3a50161312683e9a0ad36f9f3e61 SHA1 (patch-include_GL_gl.h) = a97ab309556c78d818d0b8bd867b5f2412c141b0 SHA1 (patch-src_gallium_include_pipe_p__config.h) = 934e2505fe299e1a25da6def2f971fa1302840c0 diff --git a/graphics/MesaLib/patches/patch-bin_mklib b/graphics/MesaLib/patches/patch-bin_mklib index 652b634f98e..2e2a385be86 100644 --- a/graphics/MesaLib/patches/patch-bin_mklib +++ b/graphics/MesaLib/patches/patch-bin_mklib @@ -1,4 +1,4 @@ -$NetBSD: patch-bin_mklib,v 1.2 2013/09/23 02:07:00 asau Exp $ +$NetBSD: patch-bin_mklib,v 1.3 2013/11/29 15:27:19 bsiegert Exp $ Solaris ld seemingly has a hard time swallowing nested archives, so flatten them out as is done for linux. @@ -6,8 +6,8 @@ so flatten them out as is done for linux. Also, to simplify PLIST processing, add versioned shared libraries for SunOS. ---- bin/mklib.orig 2011-10-15 00:43:58.000000000 +0000 -+++ bin/mklib 2013-09-23 01:54:56.561727009 +0000 +--- bin/mklib.orig Sat Oct 15 00:43:34 2011 ++++ bin/mklib @@ -305,9 +305,15 @@ fi # # OK, make the library now @@ -21,7 +21,7 @@ for SunOS. case $ARCH in - 'Linux' | 'OpenBSD' | 'DragonFly' | 'GNU' | GNU/* | 'NetBSD') -+ 'Linux' | 'OpenBSD' | 'DragonFly' | 'GNU' | GNU/* | 'NetBSD' | 'FreeBSD') ++ 'Linux' | 'OpenBSD' | 'DragonFly' | 'GNU' | GNU/* | 'NetBSD' | 'FreeBSD' | 'MirBSD') # we assume gcc if [ "x$LINK" = "x" ] ; then |