sthen 384af9db11 move pecl to multi-version; packages are now named pecl56-foo and pecl70-foo
for the relevant PHP versions.

ports which are 5.6-only remain in pecl-foo port directories, set to only
build 5.6 packages

ports which have separate versions for 5.6 and 7.0 are split; the port
directories are named pecl56-foo for the 5.6-compatible version and
pecl-foo for the 7+-version

normal ports are in pecl-foo port directories with flavours for 5.6 and 7.0
2018-04-26 15:08:56 +00:00

31 lines
529 B
Makefile

# $OpenBSD: Makefile,v 1.29 2018/04/26 15:08:56 sthen Exp $
COMMENT= PHP interface to memcached
DISTNAME= memcache-3.0.8
REVISION= 2
# PHP
PERMIT_PACKAGE_CDROM= Yes
WANTLIB= c
MODULES= lang/php/pecl
# no 7.x-compatible version yet
MODPECL_V= 5.6
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= --with-zlib-dir=/usr
post-configure:
@perl -pi -e 's,(finish_cmds=").*,\1" #,g' ${WRKSRC}/libtool
# A running memcached server is needed
TEST_IS_INTERACTIVE= Yes
pre-test:
cp ${FILESDIR}/connect.inc ${WRKSRC}
.include <bsd.port.mk>