diff options
author | grant <grant> | 2003-02-28 22:15:29 +0000 |
---|---|---|
committer | grant <grant> | 2003-02-28 22:15:29 +0000 |
commit | 282e86959dee64d4588d2e11f310fb5f304e9001 (patch) | |
tree | 42336e39a690cd394fe7d56499f738bc30f79b8e /converters/libiconv/Makefile | |
parent | 789371f09f990e66d9aaa03b6e0e4d7dfe188397 (diff) | |
download | pkgsrc-282e86959dee64d4588d2e11f310fb5f304e9001.tar.gz |
ensure we always install charset.alias and tidy PLIST handling,
improves portability.
Diffstat (limited to 'converters/libiconv/Makefile')
-rw-r--r-- | converters/libiconv/Makefile | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/converters/libiconv/Makefile b/converters/libiconv/Makefile index 30e855fc223..edbdf8dd01c 100644 --- a/converters/libiconv/Makefile +++ b/converters/libiconv/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.15 2003/01/03 12:32:59 wiz Exp $ +# $NetBSD: Makefile,v 1.16 2003/02/28 22:15:29 grant Exp $ # DISTNAME= libiconv-1.8 +PKGREVISION= 1 CATEGORIES= converters MASTER_SITES= ${MASTER_SITE_GNU:=libiconv/} @@ -15,14 +16,6 @@ USE_LIBTOOL= YES LIBTOOL_OVERRIDE+= ${WRKSRC}/libtool LIBTOOL_OVERRIDE+= ${WRKSRC}/libcharset/libtool -.include "../../mk/bsd.prefs.mk" - -.if (${OPSYS} == SunOS) -PLIST_SUBST+= SUNOS= -.else -PLIST_SUBST+= SUNOS="@comment " -.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 @@ -30,6 +23,10 @@ PLIST_SUBST+= SUNOS="@comment " pre-install: ${RM} -f ${PREFIX}/lib/charset.alias +# be sure to install a new charset.alias +post-install: + cd ${WRKSRC}/libcharset/lib && ${MAKE} install-lib + test: build cd ${WRKSRC} && ${MAKE_ENV} ${MAKE_PROGRAM} check 2>&1 | tee ${WRKDIR}/check.log |