From fc675ae0c84ab505d92492fae31a10587ecd1f10 Mon Sep 17 00:00:00 2001 From: jmmv Date: Sat, 22 Mar 2003 11:35:44 +0000 Subject: Fix build on Darwin, using patch in PR pkg/20396 by Yves de Champlain. --- devel/gettext-lib/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'devel/gettext-lib') 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" -- cgit v1.2.3