summaryrefslogtreecommitdiff
path: root/converters/libiconv/Makefile
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2002-05-10 12:16:41 +0000
committerwiz <wiz@pkgsrc.org>2002-05-10 12:16:41 +0000
commit9b8b61fe505eaec505f14b45bebb491914380973 (patch)
tree87d072221b83f6268d5a14a413c544a20ffac938 /converters/libiconv/Makefile
parentfa48b341f0e984a6c43f34d17a43fcac3ed7f269 (diff)
downloadpkgsrc-9b8b61fe505eaec505f14b45bebb491914380973.tar.gz
Fix charset.alias file, the same as it is in the current glib2 distribution
and as it will be in the next release of libiconv. This should fix the pango build failures on -current. Tracked down by Owen Taylor. Bump version to 1.7nb1, and bump buildlink dependency, too.
Diffstat (limited to 'converters/libiconv/Makefile')
-rw-r--r--converters/libiconv/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/converters/libiconv/Makefile b/converters/libiconv/Makefile
index 9f3207157e3..52d6d3b558f 100644
--- a/converters/libiconv/Makefile
+++ b/converters/libiconv/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.7 2002/04/24 02:56:15 dmcmahill Exp $
+# $NetBSD: Makefile,v 1.8 2002/05/10 12:16:41 wiz Exp $
#
DISTNAME= libiconv-1.7
+PKGREVISION= 1
CATEGORIES= converters
MASTER_SITES= ftp://ftp.ilog.fr/pub/Users/haible/gnu/
@@ -22,6 +23,13 @@ LIBTOOL_OVERRIDE+= ${WRKSRC}/libcharset/libtool
PLIST_SRC= ${PKGDIR}/PLIST.${OPSYS}
.endif
+# remove any existing charset.alias; if it already exists, libiconv does
+# not overwrite it, and older versions of libiconv wrote incorrect
+# charset.alias files, which were not removed during deinstall since
+# other packages touched them.
+pre-install:
+ ${RM} -f ${PREFIX}/lib/charset.alias
+
test: build
cd ${WRKSRC} && ${MAKE_ENV} ${MAKE_PROGRAM} check |& tee ${WRKDIR}/check.log