pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/inputmethod/scim inputmethod/scim: workaround bad NLS ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/421e34a93aac
branches:  trunk
changeset: 603434:421e34a93aac
user:      marino <marino%pkgsrc.org@localhost>
date:      Sun May 06 09:18:48 2012 +0000

description:
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:

 inputmethod/scim/Makefile |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r df916c14cd0f -r 421e34a93aac inputmethod/scim/Makefile
--- a/inputmethod/scim/Makefile Sun May 06 09:09:35 2012 +0000
+++ b/inputmethod/scim/Makefile Sun May 06 09:18:48 2012 +0000
@@ -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 @@
 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"



Home | Main Index | Thread Index | Old Index