From 5b74b0c5e422e8ecbb1b26c07482ac7dc0d680f3 Mon Sep 17 00:00:00 2001 From: tron Date: Wed, 6 Jan 2010 18:53:05 +0000 Subject: Fix the part of the makefile that builds "preloadable_libiconv.so" under Solaris if GCC is used. As this bit is both operating system and compiler specific we can simple bypass "libtool" which is what must have happened with the old "libtool". The build in the non-GCC case or under Linux respectively OSF1 might still be broken. But I don't have a setup to test that. --- converters/libiconv/distinfo | 4 ++-- converters/libiconv/patches/patch-af | 18 ++++++++++++++---- 2 files changed, 16 insertions(+), 6 deletions(-) (limited to 'converters/libiconv') diff --git a/converters/libiconv/distinfo b/converters/libiconv/distinfo index 2788ececaa8..a27ae17e410 100644 --- a/converters/libiconv/distinfo +++ b/converters/libiconv/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.30 2008/01/13 09:31:11 joerg Exp $ +$NetBSD: distinfo,v 1.31 2010/01/06 18:53:05 tron Exp $ SHA1 (libiconv-1.12-cp932.patch.gz) = 7c433e19a61a15bd9585e01c0a6fbe2eb9129625 RMD160 (libiconv-1.12-cp932.patch.gz) = 33eb9758470f5e7ca0608fc478ea1342bf6bd0dc @@ -11,4 +11,4 @@ SHA1 (patch-ab) = d459b849adf870c345007d11a0a9dc790649adbc SHA1 (patch-ac) = a27e8ab5a776a2bc8b2c790eabff5c15985d9584 SHA1 (patch-ad) = e94da1c4423677b74f463d4b132c7714efc65815 SHA1 (patch-ae) = e18c4d9dd76b27e40c8dcd273f856fe5933f72bc -SHA1 (patch-af) = de976e1f97fa5f8b973be1a225ae3e0ee2352851 +SHA1 (patch-af) = 08d1cc207ab246674e7f39064826d9cc5c08d760 diff --git a/converters/libiconv/patches/patch-af b/converters/libiconv/patches/patch-af index 8d037717c1c..8600f32f94a 100644 --- a/converters/libiconv/patches/patch-af +++ b/converters/libiconv/patches/patch-af @@ -1,8 +1,17 @@ -$NetBSD: patch-af,v 1.3 2007/11/29 17:05:35 wiz Exp $ +$NetBSD: patch-af,v 1.4 2010/01/06 18:53:05 tron Exp $ ---- lib/Makefile.in.orig 2007-05-27 22:15:31.000000000 +0000 -+++ lib/Makefile.in -@@ -118,14 +118,14 @@ libiconv.res : $(srcdir)/../windows/libi +--- lib/Makefile.in.orig Mon May 28 00:15:31 2007 ++++ lib/Makefile.in Wed Jan 6 19:44:49 2010 +@@ -82,7 +82,7 @@ + + preloadable_libiconv_solaris.so : $(SOURCES) + if test -n "@GCC@"; then \ +- $(LIBTOOL_LINK) $(CC) $(LDFLAGS) $(INCLUDES) $(CFLAGS) $(CPPFLAGS) $(DEFS) -fPIC -DPIC -DLIBICONV_PLUG $(SOURCES) -shared -o preloadable_libiconv_solaris.so; \ ++ $(CC) $(LDFLAGS) $(INCLUDES) $(CFLAGS) $(CPPFLAGS) $(DEFS) -fPIC -DPIC -DLIBICONV_PLUG $(SOURCES) -shared -o preloadable_libiconv_solaris.so; \ + else \ + $(LIBTOOL_LINK) $(CC) $(LDFLAGS) $(INCLUDES) $(CFLAGS) $(CPPFLAGS) $(DEFS) -KPIC -DPIC -DLIBICONV_PLUG $(SOURCES) -G -o preloadable_libiconv_solaris.so; \ + fi +@@ -118,7 +118,7 @@ # $(libdir) and $(includedir) - don't use $(prefix) and $(exec_prefix) here. install-lib : all force if [ ! -d $(libdir) ] ; then $(mkinstalldirs) $(libdir) ; fi @@ -11,6 +20,7 @@ $NetBSD: patch-af,v 1.3 2007/11/29 17:05:35 wiz Exp $ # On AIX, libiconv.a must include the object files of /lib/libiconv.a, # otherwise the setlocale() call fails when invoked from executables linked +@@ -125,7 +125,7 @@ # with -rpath $(libdir), even if linked without -liconv. install : all force if [ ! -d $(DESTDIR)$(libdir) ] ; then $(mkinstalldirs) $(DESTDIR)$(libdir) ; fi -- cgit v1.2.3