summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrodent <rodent@pkgsrc.org>2015-03-26 04:04:43 +0000
committerrodent <rodent@pkgsrc.org>2015-03-26 04:04:43 +0000
commit8700fef028d19a1dae59c3887ef10e87baa8737d (patch)
tree392cfaca087665e721aa049da311fb5a97318912
parent7d6905099a7191937763e1cd8c7fdb9ff55190fa (diff)
downloadpkgsrc-8700fef028d19a1dae59c3887ef10e87baa8737d.tar.gz
Mark this package as BROKEN if whatever version of PHP isn't built with the
maintainer-zts option.
-rw-r--r--devel/php-pthreads/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/devel/php-pthreads/Makefile b/devel/php-pthreads/Makefile
index 259a3df91c2..8038db930e9 100644
--- a/devel/php-pthreads/Makefile
+++ b/devel/php-pthreads/Makefile
@@ -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_TOOLS+= gsed
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"