summaryrefslogtreecommitdiff
path: root/inputmethod
diff options
context:
space:
mode:
authormarino <marino>2012-05-06 09:18:48 +0000
committermarino <marino>2012-05-06 09:18:48 +0000
commit9c9fcf541ba0af4ca6cfdd62ed730dc4e5f097dd (patch)
treec53fb61ba5a35a6ccaf4cefe7042151f74a0f4f5 /inputmethod
parent4359afe8280c45fb5361d9ad2c27bbc9d72693ce (diff)
downloadpkgsrc-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.
Diffstat (limited to 'inputmethod')
-rw-r--r--inputmethod/scim/Makefile5
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"