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
(cherry picked from commit e6a10825e4
)
This commit is contained in:
parent
7c128489a0
commit
3c9bc2e8fb
|
@ -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
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
TIMESTAMP = 1636340400
|
||||
SHA256 (Mcrypt-2.5.7.0.tar.gz) = 998d4b64d3c45ee78edd0ceb8a63f8206a4ab2fb3f4afb26837abcc2697ee48b
|
||||
SIZE (Mcrypt-2.5.7.0.tar.gz) = 6214
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user