File:
[cvs.NetBSD.org] /
pkgsrc /
devel /
php-gettext /
Makefile
Revision
1.12:
download - view:
text,
annotated -
select for diffs
Sun Sep 2 14:09:56 2012 UTC (12 years, 3 months ago) by
marino
Branches:
MAIN
CVS tags:
pkgsrc-2012Q3-base,
pkgsrc-2012Q3,
HEAD
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.