# Created by: Gasol Wu <gasol.wu@gmail.com>
# $FreeBSD: tags/RELEASE_11_3_0/security/pecl-crypto/Makefile 487272 2018-12-12 01:35:33Z gerald $

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

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

LICENSE=	PHP301

BROKEN_aarch64=			fails to configure: C compiler cannot create executables
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>
