diff options
Diffstat (limited to 'security/pecl-crypto')
-rw-r--r-- | security/pecl-crypto/Makefile | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/security/pecl-crypto/Makefile b/security/pecl-crypto/Makefile index 5c1b4703308d..14ca7f4259f3 100644 --- a/security/pecl-crypto/Makefile +++ b/security/pecl-crypto/Makefile @@ -1,5 +1,5 @@ PORTNAME= crypto -PORTVERSION= 0.3.2 +DISTVERSION= 0.3.2 CATEGORIES= security MAINTAINER= gasol.wu@gmail.com @@ -15,10 +15,20 @@ CONFIGURE_ARGS= --with-crypto CFLAGS+= -I${OPENSSLINC} LDFLAGS+= -L${OPENSSLLIB} -.include <bsd.port.options.mk> +.include <bsd.port.pre.mk> .if ${OPSYS} == FreeBSD CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif -.include <bsd.port.mk> +.if ${PHP_VER} >= 85 +.if ${OPSYS} == FreeBSD +CFLAGS+= -Wno-error=int-conversion +.endif + +post-patch: + @${REINPLACE_CMD} -e 's|ext/standard/php_smart_string.h|Zend/zend_smart_string.h|' \ + ${WRKSRC}/phpc/phpc.h +.endif + +.include <bsd.port.post.mk> |