git: 796ea007bab0 - main - converters/iconv: fix package creation on -CURRENT
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 04 Jan 2022 21:31:33 UTC
The branch main has been updated by se: URL: https://cgit.FreeBSD.org/ports/commit/?id=796ea007bab0f64dc2c144ad885fbb00e82d847a commit 796ea007bab0f64dc2c144ad885fbb00e82d847a Author: Stefan Eßer <se@FreeBSD.org> AuthorDate: 2022-01-04 21:11:06 +0000 Commit: Stefan Eßer <se@FreeBSD.org> CommitDate: 2022-01-04 21:31:14 +0000 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 --- converters/iconv/Makefile | 13 +++++++++---- 1 file 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>