summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorjmmv <jmmv>2003-03-22 11:35:44 +0000
committerjmmv <jmmv>2003-03-22 11:35:44 +0000
commitd74b387b5701659fe9eb61751fb80c90cf7c502d (patch)
treec8e7438f68fccc469d3d8ca83cc629599743fe75 /devel
parentb3d9ce608536943f3b62db3d713f78aec2dc92b1 (diff)
downloadpkgsrc-d74b387b5701659fe9eb61751fb80c90cf7c502d.tar.gz
Fix build on Darwin, using patch in PR pkg/20396 by Yves de Champlain.
Diffstat (limited to 'devel')
-rw-r--r--devel/gettext-lib/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/devel/gettext-lib/Makefile b/devel/gettext-lib/Makefile
index 4dbc5cd4c60..1d2664edba9 100644
--- a/devel/gettext-lib/Makefile
+++ b/devel/gettext-lib/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2002/12/22 19:04:08 jlam Exp $
+# $NetBSD: Makefile,v 1.19 2003/03/22 11:35:44 jmmv Exp $
# FreeBSD Id: Makefile,v 1.1.1.1 1998/08/09 15:13:33 kuriyama Exp
#
@@ -30,5 +30,11 @@ ALL_TARGET= all-yes
INSTALL_TARGET= install-exec
BUILD_DIRS= ${WRKSRC}/intl
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "Darwin"
+CPPFLAGS+= -D_INTL_REDIRECT_MACROS=1
+.endif
+
.include "../../converters/libiconv/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"