2021-10-25 12:33:18 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.17 2021/10/25 12:33:19 sthen Exp $
|
2015-04-22 10:56:31 +00:00
|
|
|
|
|
|
|
COMMENT= PHP interface to memcached via libmemcached
|
|
|
|
|
2020-06-12 14:27:47 +00:00
|
|
|
DISTNAME= memcached-3.1.5
|
2021-10-25 12:33:18 +00:00
|
|
|
REVISION= 2
|
2015-04-22 10:56:31 +00:00
|
|
|
|
|
|
|
# PHP
|
2019-07-12 20:50:46 +00:00
|
|
|
PERMIT_PACKAGE= Yes
|
2015-04-22 10:56:31 +00:00
|
|
|
|
2016-03-19 21:18:37 +00:00
|
|
|
WANTLIB += c memcached memcachedutil pthread sasl2 z
|
2015-04-22 10:56:31 +00:00
|
|
|
|
|
|
|
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>
|