aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Eßer <se@FreeBSD.org>2022-01-04 21:11:06 +0000
committerStefan Eßer <se@FreeBSD.org>2022-01-04 21:31:14 +0000
commit796ea007bab0f64dc2c144ad885fbb00e82d847a (patch)
tree0e4bf3e7f6f61cc020bbd45783f4611f411227cc
parent6d82ac1658edaccf5dc84375cc6e58db1ec232a9 (diff)
downloadports-796ea007bab0f64dc2c144ad885fbb00e82d847a.tar.gz
ports-796ea007bab0f64dc2c144ad885fbb00e82d847a.zip
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
-rw-r--r--converters/iconv/Makefile13
1 files changed, 9 insertions, 4 deletions
diff --git a/converters/iconv/Makefile b/converters/iconv/Makefile
index 31d64c74edf2..f6c9305955c6 100644
--- a/converters/iconv/Makefile
+++ b/converters/iconv/Makefile
@@ -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>