freebsd-ports/security/pecl-mcrypt/Makefile
Mathieu Arnold cf118ccf87
One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
2021-04-07 10:09:01 +02:00

20 lines
459 B
Makefile

PORTNAME= mcrypt
PORTVERSION= 1.0.4
PORTREVISION= 0
CATEGORIES= security pear
MAINTAINER= pizzamig@FreeBSD.org
COMMENT= PHP extension for mcrypt, removed in PHP 7.2
LICENSE= PHP301
LIB_DEPENDS= libltdl.so:devel/libltdl \
libmcrypt.so:security/libmcrypt
USES= php:pecl
post-patch:
${REINPLACE_CMD} -e 's/RETURN_FALSE$$/RETURN_FALSE;/g' ${WRKSRC}/mcrypt.c
${REINPLACE_CMD} -e 's/RETURN_TRUE$$/RETURN_TRUE;/g' ${WRKSRC}/mcrypt.c
.include <bsd.port.mk>