Thu Mar 26 04:04:43 2015 UTC ()
Mark this package as BROKEN if whatever version of PHP isn't built with the
maintainer-zts option.


(rodent)
diff -r1.1 -r1.2 pkgsrc/devel/php-pthreads/Makefile

cvs diff -r1.1 -r1.2 pkgsrc/devel/php-pthreads/Makefile (expand / switch to unified diff)

--- pkgsrc/devel/php-pthreads/Makefile 2015/03/07 22:55:54 1.1
+++ pkgsrc/devel/php-pthreads/Makefile 2015/03/26 04:04:43 1.2
@@ -1,23 +1,28 @@ @@ -1,23 +1,28 @@
1# $NetBSD: Makefile,v 1.1 2015/03/07 22:55:54 rodent Exp $ 1# $NetBSD: Makefile,v 1.2 2015/03/26 04:04:43 rodent Exp $
2 2
3MODNAME= pthreads 3MODNAME= pthreads
4PECL_VERSION= 2.0.10 4PECL_VERSION= 2.0.10
5CATEGORIES+= devel 5CATEGORIES+= devel
6 6
7MAINTAINER= rodent@NetBSD.org 7MAINTAINER= rodent@NetBSD.org
8HOMEPAGE= https://github.com/krakjoe/pthreads 8HOMEPAGE= https://github.com/krakjoe/pthreads
9COMMENT= PHP extension for POSIX threads support 9COMMENT= PHP extension for POSIX threads support
10LICENSE= php 10LICENSE= php
11 11
12BUILD_DEPENDS+= re2c>=0.13.0.4:../../devel/re2c 12BUILD_DEPENDS+= re2c>=0.13.0.4:../../devel/re2c
13 13
14CONFIGURE_ARGS+= --enable-${MODNAME}=shared,${BUILDLINK_DIR} 14CONFIGURE_ARGS+= --enable-${MODNAME}=shared,${BUILDLINK_DIR}
15 15
16USE_LANGUAGES+= c c++ 16USE_LANGUAGES+= c c++
17USE_TOOLS+= gsed 17USE_TOOLS+= gsed
18USE_LIBTOOL= yes 18USE_LIBTOOL= yes
19 19
20.include "../../lang/php/phpversion.mk" 20.include "../../lang/php/phpversion.mk"
 21
 22.if !empty(PKG_OPTIONS.${PHP_PKG_PREFIX}:Mmaintainer-zts)
 23BROKEN= Requires the maintainer-zts option enabled in PHP.
 24.endif
 25
21.include "../../mk/pthread.buildlink3.mk" 26.include "../../mk/pthread.buildlink3.mk"
22.include "../../lang/php/ext.mk" 27.include "../../lang/php/ext.mk"
23.include "../../mk/bsd.pkg.mk" 28.include "../../mk/bsd.pkg.mk"