summaryrefslogtreecommitdiff
path: root/converters/libiconv/patches
diff options
context:
space:
mode:
authortv <tv@pkgsrc.org>2004-04-28 15:19:04 +0000
committertv <tv@pkgsrc.org>2004-04-28 15:19:04 +0000
commitfaaed608d9d57400ab5ae3bf47a0d0802e05d1e5 (patch)
tree5afae66f91f415dc6e2d8c35b4514499ce1759f9 /converters/libiconv/patches
parentf605fe6226a9d706731c189ca9c98b201bbfb7ef (diff)
downloadpkgsrc-faaed608d9d57400ab5ae3bf47a0d0802e05d1e5.tar.gz
nb2: use $(INSTALL), not $(INSTALL_DATA), for a library in an autoconfiscated
package.
Diffstat (limited to 'converters/libiconv/patches')
-rw-r--r--converters/libiconv/patches/patch-ae12
-rw-r--r--converters/libiconv/patches/patch-af20
2 files changed, 27 insertions, 5 deletions
diff --git a/converters/libiconv/patches/patch-ae b/converters/libiconv/patches/patch-ae
index 90c183f2caa..05c70448e66 100644
--- a/converters/libiconv/patches/patch-ae
+++ b/converters/libiconv/patches/patch-ae
@@ -1,6 +1,6 @@
-$NetBSD: patch-ae,v 1.3 2003/07/28 10:11:47 jmmv Exp $
+$NetBSD: patch-ae,v 1.4 2004/04/28 15:19:04 tv Exp $
---- libcharset/lib/Makefile.in.orig 2003-04-14 15:51:06.000000000 +0200
+--- libcharset/lib/Makefile.in.orig Mon Apr 14 09:51:06 2003
+++ libcharset/lib/Makefile.in
@@ -9,7 +9,7 @@ srcdir = @srcdir@
prefix = @prefix@
@@ -19,14 +19,16 @@ $NetBSD: patch-ae,v 1.3 2003/07/28 10:11:47 jmmv Exp $
+install-charset-alias : all force
$(mkinstalldirs) $(libdir)
- $(LIBTOOL_INSTALL) $(INSTALL_DATA) libcharset.la $(libdir)/libcharset.la
-+# $(LIBTOOL_INSTALL) $(INSTALL_DATA) libcharset.la $(libdir)/libcharset.la
++# $(LIBTOOL_INSTALL) $(INSTALL) libcharset.la $(libdir)/libcharset.la
test -f $(libdir)/charset.alias && orig=$(libdir)/charset.alias \
|| orig=charset.alias; \
sed -f ref-add.sed $$orig > $(libdir)/t-charset.alias; \
-@@ -95,6 +97,8 @@ install-lib : all force
+@@ -94,7 +96,9 @@ install-lib : all force
+
install : all force
$(mkinstalldirs) $(DESTDIR)$(libdir)
- $(LIBTOOL_INSTALL) $(INSTALL_DATA) libcharset.la $(DESTDIR)$(libdir)/libcharset.la
+- $(LIBTOOL_INSTALL) $(INSTALL_DATA) libcharset.la $(DESTDIR)$(libdir)/libcharset.la
++ $(LIBTOOL_INSTALL) $(INSTALL) libcharset.la $(DESTDIR)$(libdir)/libcharset.la
+
+install-charset-alias-unused:
if test -f $(DESTDIR)$(libdir)/charset.alias; then \
diff --git a/converters/libiconv/patches/patch-af b/converters/libiconv/patches/patch-af
new file mode 100644
index 00000000000..aeaac43d9b7
--- /dev/null
+++ b/converters/libiconv/patches/patch-af
@@ -0,0 +1,20 @@
+$NetBSD: patch-af,v 1.1 2004/04/28 15:19:04 tv Exp $
+
+--- lib/Makefile.in.orig Sun May 18 10:19:16 2003
++++ lib/Makefile.in
+@@ -101,13 +101,13 @@ relocatable.lo : $(srcdir)/relocatable.c
+ # $(libdir) and $(includedir) - don't use $(prefix) and $(exec_prefix) here.
+ install-lib : all force
+ if [ ! -d $(libdir) ] ; then $(mkinstalldirs) $(libdir) ; fi
+- $(LIBTOOL_INSTALL) $(INSTALL_DATA) libiconv.la $(libdir)/libiconv.la
++ $(LIBTOOL_INSTALL) $(INSTALL) libiconv.la $(libdir)/libiconv.la
+
+ install : all force
+ if [ ! -d $(DESTDIR)$(prefix) ] ; then $(mkinstalldirs) $(DESTDIR)$(prefix) ; fi
+ if [ ! -d $(DESTDIR)$(exec_prefix) ] ; then $(mkinstalldirs) $(DESTDIR)$(exec_prefix) ; fi
+ if [ ! -d $(DESTDIR)$(libdir) ] ; then $(mkinstalldirs) $(DESTDIR)$(libdir) ; fi
+- $(LIBTOOL_INSTALL) $(INSTALL_DATA) libiconv.la $(DESTDIR)$(libdir)/libiconv.la
++ $(LIBTOOL_INSTALL) $(INSTALL) libiconv.la $(DESTDIR)$(libdir)/libiconv.la
+ if test -n "@PLUGLIB@"; then $(INSTALL_DATA) @PLUGLIB@ $(DESTDIR)$(libdir)/@PLUGLIB@.new && mv $(DESTDIR)$(libdir)/@PLUGLIB@.new $(DESTDIR)$(libdir)/@PLUGLIB@ ; fi
+
+ installdirs : force