summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorchuck <chuck@pkgsrc.org>2008-11-14 02:47:10 +0000
committerchuck <chuck@pkgsrc.org>2008-11-14 02:47:10 +0000
commitc0e937440d68653309f636e1c553517f3077cb2b (patch)
tree0d59de0f6346edb18632dd35b24d3b5fc2290dfe
parent74dbb000b7bdd9bf331ecf6a5bf9e2f3e551db33 (diff)
downloadpkgsrc-c0e937440d68653309f636e1c553517f3077cb2b.tar.gz
don't use c99 on Darwin, it screws up dynamic linking.
see http://mail-index.netbsd.org/tech-pkg/2008/11/10/msg002023.html and http://mail-index.netbsd.org/tech-pkg/2008/11/10/msg002026.html
-rw-r--r--x11/gtk/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/x11/gtk/Makefile b/x11/gtk/Makefile
index f55aa087648..84196fcf6cc 100644
--- a/x11/gtk/Makefile
+++ b/x11/gtk/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.122 2007/12/02 11:47:55 wiz Exp $
+# $NetBSD: Makefile,v 1.123 2008/11/14 02:47:10 chuck Exp $
DISTNAME= gtk+-1.2.10
PKGREVISION= 9
@@ -19,7 +19,9 @@ USE_DIRS+= xdg-1.1
USE_X11BASE= yes
USE_TOOLS+= gmake msgfmt perl
USE_PKGLOCALEDIR= yes
+.if ${OPSYS} != "Darwin"
USE_LANGUAGES+= c99
+.endif
USE_LIBTOOL= yes
PKGCONFIG_OVERRIDE= gdk.pc.in
PKGCONFIG_OVERRIDE+= gtk+.pc.in