Mark this package as BROKEN if whatever version of PHP isn't built with the maintainer-zts option.diff -r1.1 -r1.2 pkgsrc/devel/php-pthreads/Makefile
(rodent)
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2015/03/07 22:55:54 rodent Exp $
+# $NetBSD: Makefile,v 1.2 2015/03/26 04:04:43 rodent Exp $
MODNAME= pthreads
PECL_VERSION= 2.0.10
@@ -18,6 +18,11 @@
USE_LIBTOOL= yes
.include "../../lang/php/phpversion.mk"
+
+.if !empty(PKG_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"