diff options
author | marino <marino> | 2012-05-06 09:18:48 +0000 |
---|---|---|
committer | marino <marino> | 2012-05-06 09:18:48 +0000 |
commit | 9c9fcf541ba0af4ca6cfdd62ed730dc4e5f097dd (patch) | |
tree | c53fb61ba5a35a6ccaf4cefe7042151f74a0f4f5 | |
parent | 4359afe8280c45fb5361d9ad2c27bbc9d72693ce (diff) | |
download | pkgsrc-9c9fcf541ba0af4ca6cfdd62ed730dc4e5f097dd.tar.gz |
inputmethod/scim: workaround bad NLS test on DragonFly
With the upgrade to version 1.4.12 or 1.4.13, scim began failing on
DragonFly when PKG_DEVELOPER=yes option was used due to the missing
locale files outlined in the plist. All the USE_TOOLS callouts and
buildlinks were correct. The problem was traced back to the configure
tests for gettext. They were producing casting errors and number of
argument errors.
The workaround is to cache the result of the gettext/libintl test
as successful in the package makefile. Doing so results in successful
build, confirming the conftest has a problem at least on some platforms.
-rw-r--r-- | inputmethod/scim/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/inputmethod/scim/Makefile b/inputmethod/scim/Makefile index 1d8c21d8e06..c1ea0588554 100644 --- a/inputmethod/scim/Makefile +++ b/inputmethod/scim/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.13 2012/04/29 12:15:55 obache Exp $ +# $NetBSD: Makefile,v 1.14 2012/05/06 09:18:48 marino Exp $ # DISTNAME= scim-1.4.13 @@ -47,6 +47,9 @@ PTHREAD_AUTO_VARS= yes CONFIGURE_ENV+= ac_cv_func_gethostbyname_r=no LDFLAGS.SunOS+= -lsocket -lnsl .endif +.if ${OPSYS} == "DragonFly" +CONFIGURE_ENV+= gt_cv_func_gnugettext1_libintl=yes +.endif .include "../../devel/gettext-lib/buildlink3.mk" .include "../../devel/libltdl/buildlink3.mk" |