- 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)
This commit is contained in:
Maxim Sobolev 2000-11-30 09:23:33 +00:00
parent 6215e1467f
commit 22dba834b7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=35523
2 changed files with 8 additions and 0 deletions

View file

@ -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>

View file

@ -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