diff options
author | marino <marino@pkgsrc.org> | 2012-05-06 09:18:48 +0000 |
---|---|---|
committer | marino <marino@pkgsrc.org> | 2012-05-06 09:18:48 +0000 |
commit | e13cf6055eb21a69d6041f4da40bd0e2563d8473 (patch) | |
tree | c53fb61ba5a35a6ccaf4cefe7042151f74a0f4f5 /inputmethod | |
parent | 2edda73a3529638f2545e5f9878142819d6ff265 (diff) | |
download | pkgsrc-e13cf6055eb21a69d6041f4da40bd0e2563d8473.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.
Diffstat (limited to 'inputmethod')
-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" |