From 22dba834b72c0d5a1a8fd32a9f1a856fd5c9f1d1 Mon Sep 17 00:00:00 2001 From: Maxim Sobolev Date: Thu, 30 Nov 2000 09:23:33 +0000 Subject: Fixes: - Fix pkg-plist in the case when NOPROFILE isn't defined; - fix breakage on system with old perl < 5.6.0 (4-STABLE and downward) by including pre-generated on 5-CURRENT files. Perl scripts supplied with the port have some problems with old perl and I hope Konstantin will address this problem in the next revision of iconv. Prompted by: asami (plist), Mikhail Teterin (4-CURRENT) --- converters/iconv/Makefile | 7 +++++++ converters/iconv/pkg-plist | 1 + 2 files changed, 8 insertions(+) (limited to 'converters') diff --git a/converters/iconv/Makefile b/converters/iconv/Makefile index f779c7eb8e26..22c19191a0e2 100644 --- a/converters/iconv/Makefile +++ b/converters/iconv/Makefile @@ -7,6 +7,7 @@ PORTNAME= iconv PORTVERSION= 2.0 +PORTREVISION= 1 CATEGORIES= converters MASTER_SITES= http://www.dante.net/staff/konstantin/FreeBSD/iconv/ @@ -19,4 +20,10 @@ MANCOMPRESSED= yes MAN1= iconv.1 MAN3= iconv.3 iconv_open.3 iconv_close.3 +.if defined(NOPROFILE) +PLIST_SUB= PROFILE:="@comment " +.else +PLIST_SUB= PROFILE:="" +.endif + .include diff --git a/converters/iconv/pkg-plist b/converters/iconv/pkg-plist index a8086ccadc2a..bccf37e8f3de 100644 --- a/converters/iconv/pkg-plist +++ b/converters/iconv/pkg-plist @@ -4,6 +4,7 @@ include/iconv.h lib/libiconv.a lib/libiconv.so lib/libiconv.so.2 +%%PROFILE:%%lib/libiconv_p.a libexec/iconv/euc-jp.so libexec/iconv/euc-kr.so libexec/iconv/euc-tw.so -- cgit v1.2.3