pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/editors/abiword Only force USE_BUILTIN.iconv=no for no...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/180915b37f2c
branches:  trunk
changeset: 482389:180915b37f2c
user:      reed <reed%pkgsrc.org@localhost>
date:      Wed Oct 27 02:50:19 2004 +0000

description:
Only force USE_BUILTIN.iconv=no for non-Linux.
Linux systems have glibc which provides a good GNU iconv.

What GNU iconv feature/function is specifically needed
for abiword?

This should be fixed to not define USE_BUILTIN.iconv=no but
to use some other option, because it overrides PREFER_NATIVE
use for iconv.

Also at this time, converters/libiconv doesn't get built nor installed
under Linux. So abiword's build failed.

diffstat:

 editors/abiword/Makefile.common |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r 3f5c66595dd0 -r 180915b37f2c editors/abiword/Makefile.common
--- a/editors/abiword/Makefile.common   Wed Oct 27 01:27:31 2004 +0000
+++ b/editors/abiword/Makefile.common   Wed Oct 27 02:50:19 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.2 2004/10/27 01:05:53 xtraeme Exp $
+# $NetBSD: Makefile.common,v 1.3 2004/10/27 02:50:19 reed Exp $
 #
 
 ABIWORD_DIST_VERSION=  2.0.11
@@ -23,7 +23,10 @@
 USE_PERL5=             run
 USE_X11=               yes
 
+.include "../../mk/bsd.prefs.mk"
+.if ${OPSYS} != "Linux" # iconv is not needed for Linux; it is included in glibc
 USE_BUILTIN.iconv=      no # Make sure we get libiconv dependency.
+.endif
 
 CONFIGURE_ARGS+=        --enable-threads
 CONFIGURE_ARGS+=        --with-libxml2



Home | Main Index | Thread Index | Old Index