Simplify expressions for FreeBSD 13.X Reviewed by: many Differential Revision: https://reviews.freebsd.org/D46601
25 lines
470 B
Makefile
25 lines
470 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
|
|
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|