pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/php-pthreads
Module Name: pkgsrc
Committed By: taca
Date: Sun Mar 7 08:11:02 UTC 2021
Modified Files:
pkgsrc/devel/php-pthreads: Makefile
Log Message:
devel/php-pthreads: fix build problem
Fix build problem. Since "lang/php/phpversion.mk" dose not pull in
"mk/pkg-build-options.mk", PKG_BUILD_OPTIONS.${PHP_PKG_PREFIX} was
always undefined.
And PKG_BUILD_OPTIONS.* is defined based on PKGBASE, check
PKG_BUILD_OPTIONS.php.
To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 pkgsrc/devel/php-pthreads/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/php-pthreads/Makefile
diff -u pkgsrc/devel/php-pthreads/Makefile:1.8 pkgsrc/devel/php-pthreads/Makefile:1.9
--- pkgsrc/devel/php-pthreads/Makefile:1.8 Mon Nov 4 17:47:30 2019
+++ pkgsrc/devel/php-pthreads/Makefile Sun Mar 7 08:11:02 2021
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2019/11/04 17:47:30 rillig Exp $
+# $NetBSD: Makefile,v 1.9 2021/03/07 08:11:02 taca Exp $
MODNAME= pthreads
PECL_VERSION= 2.0.10
@@ -19,12 +19,9 @@ USE_LANGUAGES+= c c++
USE_TOOLS+= gsed
USE_LIBTOOL= yes
-.include "../../lang/php/phpversion.mk"
-
-.if empty(PKG_BUILD_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"
+.if empty(PKG_BUILD_OPTIONS.php:Mmaintainer-zts)
+BROKEN= "Requires the maintainer-zts option enabled in PHP."
+.endif
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index