mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-30 10:38:37 +00:00
02c61dffcb
- Pet portclippy Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation
25 lines
557 B
Makefile
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>
|