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 context 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,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"