summaryrefslogtreecommitdiff
path: root/converters/libiconv
diff options
context:
space:
mode:
authorjoerg <joerg>2006-11-14 13:55:34 +0000
committerjoerg <joerg>2006-11-14 13:55:34 +0000
commitfef1e45747ed7b242f7d493f6a48d84efe7e8bfb (patch)
treeaa76f4c60cfdd66ab79131a937a8938c77214bc6 /converters/libiconv
parent3689cf0f1249e86f753e072e2d07169abaeb51f6 (diff)
downloadpkgsrc-fef1e45747ed7b242f7d493f6a48d84efe7e8bfb.tar.gz
DESTDIR support. Use modular Xorg for wv.
XXX Remove pre-install in libiconv?
Diffstat (limited to 'converters/libiconv')
-rw-r--r--converters/libiconv/Makefile7
-rw-r--r--converters/libiconv/distinfo4
-rw-r--r--converters/libiconv/patches/patch-ae27
3 files changed, 24 insertions, 14 deletions
diff --git a/converters/libiconv/Makefile b/converters/libiconv/Makefile
index b82c2015efc..8e57f646787 100644
--- a/converters/libiconv/Makefile
+++ b/converters/libiconv/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.43 2006/06/08 03:56:21 jlam Exp $
+# $NetBSD: Makefile,v 1.44 2006/11/14 13:55:34 joerg Exp $
DISTNAME= libiconv-1.10
PKGREVISION= 3
@@ -14,6 +14,7 @@ PATCHFILES= libiconv-1.10-ja-1.patch.gz
PATCH_DIST_STRIP= -p1
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
@@ -42,11 +43,11 @@ CFLAGS+= -c99
# charset.alias files, which were not removed during deinstall since
# other packages touched them.
pre-install:
- ${RM} -f ${PREFIX}/lib/charset.alias
+ ${RM} -f ${DESTDIR}${PREFIX}/lib/charset.alias
# be sure to install a new charset.alias
post-install:
- cd ${WRKSRC}/libcharset/lib && ${MAKE} libdir=${EGDIR} \
+ cd ${WRKSRC}/libcharset/lib && ${MAKE} libdir=${EGDIR} DESTDIR=${DESTDIR:Q} \
install-charset-alias
.include "../../mk/bsd.pkg.mk"
diff --git a/converters/libiconv/distinfo b/converters/libiconv/distinfo
index 4ffbe1c32af..a9182c1e247 100644
--- a/converters/libiconv/distinfo
+++ b/converters/libiconv/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.23 2005/10/02 06:09:47 taca Exp $
+$NetBSD: distinfo,v 1.24 2006/11/14 13:55:34 joerg Exp $
SHA1 (libiconv-1.10.tar.gz) = a0190b476e322775d91ee0eabe4041e3a591f865
RMD160 (libiconv-1.10.tar.gz) = 33c648775743331adf8dcfbc994179fd2fda6aad
@@ -10,5 +10,5 @@ SHA1 (patch-aa) = f845b01e08fbeede13bb1d9e46db4ea9ed0e8d03
SHA1 (patch-ab) = 26ada1bf2dbb99a56713331f0830ccef9250fc7a
SHA1 (patch-ac) = 2858dc88a214af794b6358863b1aed24a129d41d
SHA1 (patch-ad) = 1e21a1ad8a81141990a2c7982af8576c68c819db
-SHA1 (patch-ae) = 626c959de9d4b5276ddf774f6aa68d20bff32184
+SHA1 (patch-ae) = 28f18b89762ee81d63d2e3f0b7937bc3eba23567
SHA1 (patch-af) = ee6ce5cf4f2fd0a5606bb23296964f34ca2e165c
diff --git a/converters/libiconv/patches/patch-ae b/converters/libiconv/patches/patch-ae
index 05c70448e66..8c982b88360 100644
--- a/converters/libiconv/patches/patch-ae
+++ b/converters/libiconv/patches/patch-ae
@@ -1,6 +1,6 @@
-$NetBSD: patch-ae,v 1.4 2004/04/28 15:19:04 tv Exp $
+$NetBSD: patch-ae,v 1.5 2006/11/14 13:55:34 joerg Exp $
---- libcharset/lib/Makefile.in.orig Mon Apr 14 09:51:06 2003
+--- libcharset/lib/Makefile.in.orig 2005-03-22 17:30:59.000000000 +0100
+++ libcharset/lib/Makefile.in
@@ -9,7 +9,7 @@ srcdir = @srcdir@
prefix = @prefix@
@@ -11,19 +11,28 @@ $NetBSD: patch-ae,v 1.4 2004/04/28 15:19:04 tv Exp $
# Programs used by "make":
CC = @CC@
-@@ -77,8 +77,10 @@ ref-del.sed : $(srcdir)/ref-del.sin
+@@ -77,13 +77,13 @@ ref-del.sed : $(srcdir)/ref-del.sin
# Installs the library and include files only. Typically called with only
# $(libdir) and $(includedir) - don't use $(prefix) and $(exec_prefix) here.
install-lib : all force
+- $(mkinstalldirs) $(libdir)
+- $(LIBTOOL_INSTALL) $(INSTALL_DATA) 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; \
+- $(INSTALL_DATA) $(libdir)/t-charset.alias $(libdir)/charset.alias; \
+- rm -f $(libdir)/t-charset.alias
+
+install-charset-alias : all force
- $(mkinstalldirs) $(libdir)
-- $(LIBTOOL_INSTALL) $(INSTALL_DATA) libcharset.la $(libdir)/libcharset.la
++ $(mkinstalldirs) $(DESTDIR)$(libdir)
+# $(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; \
-@@ -94,7 +96,9 @@ install-lib : all force
++ orig=charset.alias; \
++ sed -f ref-add.sed $$orig > t-charset.alias; \
++ $(INSTALL_DATA) t-charset.alias $(DESTDIR)$(libdir)/charset.alias; \
+
+ # The following is needed in order to install a simple file in $(libdir)
+ # which is shared with other installed packages. We use a list of referencing
+@@ -94,7 +94,9 @@ install-lib : all force
install : all force
$(mkinstalldirs) $(DESTDIR)$(libdir)