summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2003-03-22 11:35:44 +0000
committerjmmv <jmmv@pkgsrc.org>2003-03-22 11:35:44 +0000
commitfc675ae0c84ab505d92492fae31a10587ecd1f10 (patch)
treec8e7438f68fccc469d3d8ca83cc629599743fe75 /devel
parentcf940ccd16b6fce9c847e63593b6c1f0072fc348 (diff)
downloadpkgsrc-fc675ae0c84ab505d92492fae31a10587ecd1f10.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"