svn commit: r553174 - head/security/pecl-mcrypt

Luca Pizzamiglio pizzamig at FreeBSD.org
Sat Oct 24 10:18:43 UTC 2020


Author: pizzamig
Date: Sat Oct 24 10:18:42 2020
New Revision: 553174
URL: https://svnweb.freebsd.org/changeset/ports/553174

Log:
  security/pecl-mcrypt: Fix php80 support
  
  PR:		250531
  Submitted by:	Dima Panov <fluffy at FreeBSD.org>

Modified:
  head/security/pecl-mcrypt/Makefile

Modified: head/security/pecl-mcrypt/Makefile
==============================================================================
--- head/security/pecl-mcrypt/Makefile	Sat Oct 24 10:08:56 2020	(r553173)
+++ head/security/pecl-mcrypt/Makefile	Sat Oct 24 10:18:42 2020	(r553174)
@@ -2,6 +2,7 @@
 
 PORTNAME=	mcrypt
 PORTVERSION=	1.0.3
+PORTREVISION=	1
 CATEGORIES=	security pear
 
 MAINTAINER=	pizzamig at FreeBSD.org
@@ -13,5 +14,9 @@ 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>


More information about the svn-ports-head mailing list