diff options
author | jperkin <jperkin@pkgsrc.org> | 2016-02-26 10:57:45 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2016-02-26 10:57:45 +0000 |
commit | 97f4078fc66b31385abf80fccbd0ad2c025fe60f (patch) | |
tree | ba40492c0d12e5e3607803f3192c1d24923347ba /x11/gtk2 | |
parent | ff2ff9e81927ce4912893dae7f00cc43823bb857 (diff) | |
download | pkgsrc-97f4078fc66b31385abf80fccbd0ad2c025fe60f.tar.gz |
Use OPSYSVARS.
Diffstat (limited to 'x11/gtk2')
-rw-r--r-- | x11/gtk2/Makefile | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/x11/gtk2/Makefile b/x11/gtk2/Makefile index ec6654e8ee0..e5fb795ef89 100644 --- a/x11/gtk2/Makefile +++ b/x11/gtk2/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.273 2015/12/30 10:15:07 prlw1 Exp $ +# $NetBSD: Makefile,v 1.274 2016/02/26 11:27:14 jperkin Exp $ DISTNAME= gtk+-2.24.29 PKGNAME= ${DISTNAME:S/gtk/gtk2/} @@ -53,12 +53,10 @@ REQD_DIRS+= ${PREFIX}/libdata/gtk-2.0 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 +CONFIGURE_ARGS.Darwin+= --disable-visibility + +.include "../../mk/bsd.prefs.mk" # gtk/Makefile.am hardcodes 'grep -o' so require GNU grep on platforms # which do not have it. |