1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-30 10:38:37 +00:00
freebsd-ports/security/pecl-crypto/Makefile
Muhammad Moinur Rahman 02c61dffcb security/pecl-crypto: Fix build with llvm16
- Pet portclippy

Approved by:	portmgr (blanket)
Sponsored by:	The FreeBSD Foundation
2023-08-05 13:53:18 +02:00

25 lines
557 B
Makefile

PORTNAME= crypto
PORTVERSION= 0.3.2
CATEGORIES= security
MAINTAINER= gasol.wu@gmail.com
COMMENT= Objective wrapper for OpenSSL Crypto Library
WWW= https://pecl.php.net/package/crypto
LICENSE= PHP301
USES= compiler:c++11-lang php:pecl ssl
CONFIGURE_ARGS= --with-crypto
CFLAGS+= -I${OPENSSLINC}
LDFLAGS+= -L${OPENSSLLIB}
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=incompatible-function-pointer-types
.endif
.include <bsd.port.mk>