naddy 88c5a3338b For all our ports that use the pecl module, SHARED_ONLY is always
defined and "c" is always added to WANTLIB.  Remove the check from
the module and add WANTLIB += c to the individual port Makefiles.
No changes in package signature, no other modules affected.
2016-03-19 21:18:37 +00:00

36 lines
780 B
Makefile

# $OpenBSD: Makefile,v 1.10 2016/03/19 21:18:38 naddy Exp $
COMMENT= extended HTTP support
_PECLMOD= http
V= 2.5.3
REVISION= 2
PKGNAME= pecl-${_PECLMOD}-${V}
DISTNAME= pecl_${_PECLMOD}-${V}
HOMEPAGE= http://pecl.php.net/package/pecl_http
# PHP
PERMIT_PACKAGE_CDROM = Yes
MODULES= lang/php/pecl \
devel/gettext
CONFIGURE_STYLE= gnu
WANTLIB+= c crypto curl event idn nghttp2 ssl z
RUN_DEPENDS+= www/pecl-raphf \
www/pecl-propro
TEST_DEPENDS+= ${RUN_DEPENDS}
BUILD_DEPENDS+= ${RUN_DEPENDS}
LIB_DEPENDS= net/curl
TEST_EXTS+= -d extension_dir=${LOCALBASE}/lib/php-${MODPHP_VERSION}/modules
TEST_EXTS+= -d extension=raphf.so
TEST_EXTS+= -d extension=propro.so
TEST_EXTS+= -d extension=http.so
MAKE_FLAGS+= PHP_TEST_SHARED_EXTENSIONS="${TEST_EXTS}"
.include <bsd.port.mk>