sthen 78dfb0b064 put the pecl/php73 bits in; even though php/7.3 itself is disabled doing\
this doesn't get in the way and makes it easier to test possible fixes
2019-03-08 17:02:43 +00:00

28 lines
562 B
Makefile

# $OpenBSD: Makefile,v 1.10 2019/03/08 17:02:44 sthen Exp $
COMMENT= PHP interface to memcached via libmemcached
DISTNAME= memcached-3.0.4
REVISION= 0
# PHP
PERMIT_PACKAGE_CDROM= Yes
WANTLIB += c memcached memcachedutil pthread sasl2 z
# no 7.3 yet
FLAVORS= php71 php72
MODULES= lang/php/pecl
LIB_DEPENDS= devel/libmemcached
CONFIGURE_STYLE= gnu
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib ${LDFLAGS}"
TEST_DEPENDS= misc/memcached
TEST_IS_INTERACTIVE= ensure that memcached is running first
.include <bsd.port.mk>