# Created by: Gasol Wu <gasol.wu@gmail.com>
# $FreeBSD: tags/RELEASE_12_1_0/security/pecl-crypto/Makefile 509957 2019-08-26 15:57:51Z linimon $

PORTNAME=	crypto
PORTVERSION=	0.3.1
PORTREVISION=	2
CATEGORIES=	security

MAINTAINER=	gasol.wu@gmail.com
COMMENT=	Objective wrapper for OpenSSL Crypto Library

LICENSE=	PHP301

BROKEN_armv6=			fails to configure: C compiler cannot create executables
BROKEN_armv7=			fails to configure: C compiler cannot create executables
BROKEN_mips=			fails to configure: C compiler cannot create executables
BROKEN_mips64=			fails to configure: C compiler cannot create executables

USES=		compiler:c++11-lang php:pecl
CONFIGURE_ARGS=	--with-crypto
CFLAGS+=	-I${OPENSSLINC}
LDFLAGS+=	-L${OPENSSLLIB}

.include <bsd.port.mk>
