aboutsummaryrefslogtreecommitdiffstats
path: root/converters/iconv
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2000-11-30 17:23:33 +0800
committersobomax <sobomax@FreeBSD.org>2000-11-30 17:23:33 +0800
commitc46d560c1a0ca2eca9f347a0a7d4fe5099e86140 (patch)
tree6bb6bc6d7c66cbedc799e7cba21f45b832e0eb43 /converters/iconv
parentb9a5d66bc7ea0130343049b1c833968ced8616e8 (diff)
downloadfreebsd-ports-gnome-c46d560c1a0ca2eca9f347a0a7d4fe5099e86140.tar.gz
freebsd-ports-gnome-c46d560c1a0ca2eca9f347a0a7d4fe5099e86140.tar.zst
freebsd-ports-gnome-c46d560c1a0ca2eca9f347a0a7d4fe5099e86140.zip
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 <mi@privatelabs.com> (4-CURRENT)
Diffstat (limited to 'converters/iconv')
-rw-r--r--converters/iconv/Makefile7
-rw-r--r--converters/iconv/pkg-plist1
2 files changed, 8 insertions, 0 deletions
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 <bsd.port.mk>
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