pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/php-pthreads Mark this package as BROKEN if what...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/49067a78fd85
branches:  trunk
changeset: 648968:49067a78fd85
user:      rodent <rodent%pkgsrc.org@localhost>
date:      Thu Mar 26 04:04:43 2015 +0000

description:
Mark this package as BROKEN if whatever version of PHP isn't built with the
maintainer-zts option.

diffstat:

 devel/php-pthreads/Makefile |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r c41bd612bf8f -r 49067a78fd85 devel/php-pthreads/Makefile
--- a/devel/php-pthreads/Makefile       Thu Mar 26 03:32:33 2015 +0000
+++ b/devel/php-pthreads/Makefile       Thu Mar 26 04:04:43 2015 +0000
@@ -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"



Home | Main Index | Thread Index | Old Index