converters/iconv: fix package creation on -CURRENT
Support for profiled libraries has been removed vom 14-CURRENT. While other ports have completely removed the creation of profiled libraries, this patch disables it on 14-CURRENT, only. While here, add LICENSE and LICENSE_FILE. Approved by: bland (maintainer) MFH: 2022Q1
This commit is contained in:
@@ -2,16 +2,19 @@
|
||||
|
||||
PORTNAME= iconv
|
||||
PORTVERSION= 2.0
|
||||
PORTREVISION= 4
|
||||
PORTREVISION= 5
|
||||
CATEGORIES= converters
|
||||
MASTER_SITES= LOCAL/bland
|
||||
|
||||
MAINTAINER= bland@FreeBSD.org
|
||||
COMMENT= Charset conversion library and utilities
|
||||
|
||||
LICENSE= BSD3CLAUSE
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
USES= shebangfix perl5 uidfix
|
||||
USE_PERL5= build
|
||||
USE_LDCONFIG= yes
|
||||
USE_PERL5= build
|
||||
SHEBANG_FILES= iconv_builtin ccs/iconv_mktbl
|
||||
|
||||
OPTIONS_DEFINE= CCSUTIL
|
||||
@@ -24,10 +27,12 @@ CCSUTIL_DESC= Install Coded character set (CCS) util
|
||||
CCSUTIL_USE= PERL5=run
|
||||
CCSUTIL_EXTRA_PATCHES_OFF= ${FILESDIR}/extra-patch-ccs_Makefile
|
||||
|
||||
.if defined(NO_PROFILE)
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if defined(NO_PROFILE) || ${OSVERSION} > 1400001
|
||||
PLIST_SUB+= PROFILE="@comment "
|
||||
.else
|
||||
PLIST_SUB+= PROFILE=""
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.post.mk>
|
||||
|
||||
Reference in New Issue
Block a user