pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/Xfixes pass -fno-common under darwin, so that gtk2...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/70a6ff2ca349
branches:  trunk
changeset: 515849:70a6ff2ca349
user:      tonio <tonio%pkgsrc.org@localhost>
date:      Sun Jul 09 20:46:07 2006 +0000

description:
pass -fno-common under darwin, so that gtk2 can link.
Bump PKGREVISION.

diffstat:

 x11/Xfixes/Makefile |  9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diffs (27 lines):

diff -r 38bfc4943d02 -r 70a6ff2ca349 x11/Xfixes/Makefile
--- a/x11/Xfixes/Makefile       Sun Jul 09 20:34:37 2006 +0000
+++ b/x11/Xfixes/Makefile       Sun Jul 09 20:46:07 2006 +0000
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.20 2006/04/18 19:46:17 reed Exp $
+# $NetBSD: Makefile,v 1.21 2006/07/09 20:46:07 tonio Exp $
 #
 
 DISTNAME=              libXfixes-2.0.1
 PKGNAME=               ${DISTNAME:S/libX/X/}
-PKGREVISION=           3
+PKGREVISION=           4
 CATEGORIES=            x11 devel
 MASTER_SITES=          http://xlibs.freedesktop.org/release/
 EXTRACT_SUFX=          .tar.bz2
@@ -20,6 +20,11 @@
 
 PKGCONFIG_OVERRIDE+=    xfixes.pc.in
 
+.include "../../mk/bsd.prefs.mk"
+.if (${OPSYS} == "Darwin")
+CFLAGS+=       -fno-common
+.endif
+
 .include "../../x11/fixesproto/buildlink3.mk"
 .include "../../mk/x11.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index