summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authormarino <marino@pkgsrc.org>2012-09-02 14:09:56 +0000
committermarino <marino@pkgsrc.org>2012-09-02 14:09:56 +0000
commit4b13c5c36ef0876f6fd8b6a43ad24e0134609147 (patch)
treedf2c4006a486bc1bddd488d1c270b9d65fb8a1a4 /devel
parent18b5cfb7337f45ac1ab26bc00d1610030d7936ed (diff)
downloadpkgsrc-4b13c5c36ef0876f6fd8b6a43ad24e0134609147.tar.gz
devel/php-gettext: Fix break caused by gettext-lib change
php-gettext previously searched the $PREFIX/include, /usr/local/include and /usr/include for the libintl.h header. The recent change to gettext-lib moved the header to $PREFIX/include/gettext broke the build on platforms that don't have native libintl. Fix this by changing the search path from $PREFIX/include to $BUILDLINK_DIR/include and let the buildlink system provide the header. The core issue is how the configuration script determines if gettext is available on the system. No revbump needed; the same gettext-lib is used as before.
Diffstat (limited to 'devel')
-rw-r--r--devel/php-gettext/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/devel/php-gettext/Makefile b/devel/php-gettext/Makefile
index bc7401c361a..4060fa7b9d5 100644
--- a/devel/php-gettext/Makefile
+++ b/devel/php-gettext/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2012/07/20 12:30:36 taca Exp $
+# $NetBSD: Makefile,v 1.12 2012/09/02 14:09:56 marino Exp $
MODNAME= gettext
CATEGORIES+= devel
@@ -8,7 +8,7 @@ PKG_DESTDIR_SUPPORT= user-destdir
CONFLICTS= php-gettext-[0-9]*
-CONFIGURE_ARGS+= --with-${MODNAME}=shared,${BUILDLINK_PREFIX.gettext}
+CONFIGURE_ARGS+= --with-gettext=shared,${BUILDLINK_DIR}
.include "../../lang/php/ext.mk"
.include "../../devel/gettext-lib/buildlink3.mk"