pkgsrc/devel/php-pthreads/Makefile
2017-09-16 19:26:41 +00:00

30 lines
734 B
Makefile

# $NetBSD: Makefile,v 1.7 2017/09/16 19:26:47 wiz Exp $
MODNAME= pthreads
PECL_VERSION= 2.0.10
CATEGORIES+= devel
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/krakjoe/pthreads
COMMENT= PHP extension for POSIX threads support
LICENSE= php
BUILD_DEPENDS+= re2c>=0.13.0.4:../../devel/re2c
PHP_VERSIONS_ACCEPTED= 56
CONFIGURE_ARGS+= --enable-${MODNAME}=shared,${BUILDLINK_DIR}
USE_LANGUAGES+= c c++
USE_TOOLS+= gsed
USE_LIBTOOL= yes
.include "../../lang/php/phpversion.mk"
.if empty(PKG_BUILD_OPTIONS.${PHP_PKG_PREFIX}:Mmaintainer-zts)
BROKEN= Requires the maintainer-zts option enabled in PHP.
.endif
.include "../../mk/pthread.buildlink3.mk"
.include "../../lang/php/ext.mk"
.include "../../mk/bsd.pkg.mk"