Date: Mon, 15 Nov 2021 03:30:17 GMT From: Yasuhiro Kimura <yasu@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: e6a10825e4a3 - main - security/p5-Mcrypt: Fix link issue and miscellaneous cleanup Message-ID: <202111150330.1AF3UHtv061762@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by yasu: URL: https://cgit.FreeBSD.org/ports/commit/?id=e6a10825e4a359c04e254766107ac4769ea60bd1 commit e6a10825e4a359c04e254766107ac4769ea60bd1 Author: Tatsuki Makino <tatsuki_makino@hotmail.com> AuthorDate: 2021-11-08 03:00:00 +0000 Commit: Yasuhiro Kimura <yasu@FreeBSD.org> CommitDate: 2021-11-15 03:29:21 +0000 security/p5-Mcrypt: Fix link issue and miscellaneous cleanup * Fix issue that Mcrypt.so is linked with libltdl.so if the port is build under the environment where devel/libltdl is installed * Add TIMESTAMP to distinfo * Switch to DISTVERSION * Regenerate pkg-plist with `make makeplist` * Pet portlint and portclippy PR: 259210 MFH: 2021Q4 --- security/p5-Mcrypt/Makefile | 13 ++++++++----- security/p5-Mcrypt/distinfo | 1 + security/p5-Mcrypt/pkg-plist | 2 +- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/security/p5-Mcrypt/Makefile b/security/p5-Mcrypt/Makefile index 563ecd3cc551..adbf5c381d71 100644 --- a/security/p5-Mcrypt/Makefile +++ b/security/p5-Mcrypt/Makefile @@ -1,8 +1,8 @@ # Created by: Tatsuki Makino <tatsuki_makino@hotmail.com> PORTNAME= Mcrypt -PORTVERSION= 2.5.7.0 -PORTREVISION= 3 +DISTVERSION= 2.5.7.0 +PORTREVISION= 4 CATEGORIES= security perl5 MASTER_SITES= CPAN MASTER_SITE_SUBDIR= CPAN:JESUS @@ -16,11 +16,14 @@ LICENSE_COMB= dual LIB_DEPENDS= libmcrypt.so:security/libmcrypt -CONFIGURE_ENV= MCRYPT_CPPFLAGS=${CPPFLAGS} +USES= localbase:ldflags perl5 USE_PERL5= configure -USES= perl5 +CONFIGURE_ENV= MCRYPT_CPPFLAGS=${CPPFLAGS:Q} \ + MCRYPT_LDFLAGS=${LDFLAGS:Q} -CPPFLAGS+= -I${LOCALBASE}/include +post-patch: + ${REINPLACE_CMD} -e 's, -lltdl,,'\ + ${WRKSRC}/Makefile.PL post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Mcrypt/Mcrypt.so diff --git a/security/p5-Mcrypt/distinfo b/security/p5-Mcrypt/distinfo index 9c016b18999d..8f0ba05b653b 100644 --- a/security/p5-Mcrypt/distinfo +++ b/security/p5-Mcrypt/distinfo @@ -1,2 +1,3 @@ +TIMESTAMP = 1636340400 SHA256 (Mcrypt-2.5.7.0.tar.gz) = 998d4b64d3c45ee78edd0ceb8a63f8206a4ab2fb3f4afb26837abcc2697ee48b SIZE (Mcrypt-2.5.7.0.tar.gz) = 6214 diff --git a/security/p5-Mcrypt/pkg-plist b/security/p5-Mcrypt/pkg-plist index cbb3814e76af..07c761f663cf 100644 --- a/security/p5-Mcrypt/pkg-plist +++ b/security/p5-Mcrypt/pkg-plist @@ -1,4 +1,4 @@ -%%PERL5_MAN3%%/Mcrypt.3.gz %%SITE_ARCH%%/Mcrypt.pm %%SITE_ARCH%%/auto/Mcrypt/Mcrypt.so %%SITE_ARCH%%/auto/Mcrypt/autosplit.ix +%%PERL5_MAN3%%/Mcrypt.3.gz
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202111150330.1AF3UHtv061762>