diff options
author | adam <adam@pkgsrc.org> | 2011-09-09 08:29:20 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2011-09-09 08:29:20 +0000 |
commit | 70e5ecb2840351804810361a4f78d6364b6ce547 (patch) | |
tree | 016dd605826274c96589c299201cd01ac8c9ff5b /x11 | |
parent | 8699420c33b6ac749f6faf7523e98146a3e831a9 (diff) | |
download | pkgsrc-70e5ecb2840351804810361a4f78d6364b6ce547.tar.gz |
Fix building on Mac OS X
Diffstat (limited to 'x11')
-rw-r--r-- | x11/gtk2/Makefile | 31 |
1 files changed, 18 insertions, 13 deletions
diff --git a/x11/gtk2/Makefile b/x11/gtk2/Makefile index c3f28001cca..8fe44a04250 100644 --- a/x11/gtk2/Makefile +++ b/x11/gtk2/Makefile @@ -1,16 +1,16 @@ -# $NetBSD: Makefile,v 1.220 2011/09/06 19:29:15 drochner Exp $ +# $NetBSD: Makefile,v 1.221 2011/09/09 08:29:20 adam Exp $ -DISTNAME= gtk+-2.24.6 -PKGNAME= ${DISTNAME:S/gtk/gtk2/} -CATEGORIES= x11 -MASTER_SITES= ftp://ftp.gtk.org/pub/gtk/2.24/ \ - ${MASTER_SITE_GNOME:=sources/gtk+/2.24/} -EXTRACT_SUFX= .tar.bz2 +DISTNAME= gtk+-2.24.6 +PKGNAME= ${DISTNAME:S/gtk/gtk2/} +CATEGORIES= x11 +MASTER_SITES= ftp://ftp.gtk.org/pub/gtk/2.24/ \ + ${MASTER_SITE_GNOME:=sources/gtk+/2.24/} +EXTRACT_SUFX= .tar.bz2 -MAINTAINER= pkgsrc-users@NetBSD.org -HOMEPAGE= http://www.gtk.org/ -COMMENT= GIMP Toolkit v2 - libraries for building X11 user interfaces -LICENSE= gnu-lgpl-v2.1 +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://www.gtk.org/ +COMMENT= GIMP Toolkit v2 - libraries for building X11 user interfaces +LICENSE= gnu-lgpl-v2.1 # gtk-builder-convert uses minidom from xml.dom, which needs expat DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat @@ -28,7 +28,7 @@ USE_LANGUAGES= c c++ USE_LIBTOOL= yes PTHREAD_AUTO_VARS= yes -GNU_CONFIGURE= yes +GNU_CONFIGURE= yes # bashism in "configure" (illegal variable substitution), patched #CONFIG_SHELL= bash CONFIGURE_ARGS+= --sysconfdir=${PREFIX}/libdata @@ -36,7 +36,7 @@ CONFIGURE_ARGS+= --sysconfdir=${PREFIX}/libdata CONFIGURE_ARGS+= --disable-papi # Not to unwanted pick up of db2html, PR#44908 CONFIGURE_ENV+= ac_cv_prog_DB2HTML=false -MAKE_ENV+= PKGLOCALEDIR=${PKGLOCALEDIR:Q} +MAKE_ENV+= PKGLOCALEDIR=${PKGLOCALEDIR} TEST_TARGET= check PKGCONFIG_OVERRIDE= gdk-2.0-uninstalled.pc.in @@ -58,6 +58,11 @@ BUILD_DIRS= . demos/gtk-demo .include "../../mk/bsd.prefs.mk" +# fix for 'only weak aliases are supported on darwin' error +.if ${OPSYS} == "Darwin" +CONFIGURE_ARGS+= --disable-visibility +.endif + # gtk/Makefile.am hardcodes 'grep -o' so require GNU grep on platforms # which do not have it. .if ${OPSYS} == "SunOS" |