diff options
author | jperkin <jperkin@pkgsrc.org> | 2015-10-19 17:26:44 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2015-10-19 17:26:44 +0000 |
commit | ed144df1858956ea651da9973948a666534cf1cb (patch) | |
tree | ac69f158d9fbbeebd52d96238f4a49cc9ef60ed9 /devel | |
parent | f0df3820937c86f73a5ba9a683f620a69359c778 (diff) | |
download | pkgsrc-ed144df1858956ea651da9973948a666534cf1cb.tar.gz |
Pass -DENABLE_NLS on SunOS to ensure consistency of including libintl.h
as it is pulled in implicitly by locale.h when __EXTENSIONS__ is used.
Fixed build on SmartOS.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/pkg-config/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/devel/pkg-config/Makefile b/devel/pkg-config/Makefile index 080607340ef..1f019b319b0 100644 --- a/devel/pkg-config/Makefile +++ b/devel/pkg-config/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.32 2015/10/15 09:47:56 wiz Exp $ +# $NetBSD: Makefile,v 1.33 2015/10/19 17:26:44 jperkin Exp $ DISTNAME= pkg-config-0.29 CATEGORIES= devel @@ -39,6 +39,7 @@ CONFIGURE_ENV+= glib_cv_value_AF_INET6=yes .if ${OPSYS} == "SunOS" CONFIGURE_ARGS+= --disable-dtrace +CFLAGS+= -DENABLE_NLS # required due to __EXTENSIONS__ .endif CONFIGURE_ARGS+= ${CONFIGURE_ARGS.${ICONV_TYPE}-iconv} |