summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorshattered <shattered@pkgsrc.org>2011-02-15 20:52:24 +0000
committershattered <shattered@pkgsrc.org>2011-02-15 20:52:24 +0000
commit73fac14845a7422a4a1cb8bb02b45d89b69c0010 (patch)
treebef046ea428dea9b381cb8d758c455f6524282bf
parentcf7b3cc08bdf836a6006340b26e563d0cf80ca49 (diff)
downloadpkgsrc-73fac14845a7422a4a1cb8bb02b45d89b69c0010.tar.gz
Re-enable DL_AUTO_VARS -- makes PHP CLI work again with extensions that
are linked to pthread (like mysql.so).
-rw-r--r--lang/php5/Makefile3
-rw-r--r--lang/php5/Makefile.php5
2 files changed, 6 insertions, 2 deletions
diff --git a/lang/php5/Makefile b/lang/php5/Makefile
index 6af89b7142c..e91ef909463 100644
--- a/lang/php5/Makefile
+++ b/lang/php5/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.81 2010/12/13 13:15:45 taca Exp $
+# $NetBSD: Makefile,v 1.82 2011/02/15 20:52:24 shattered Exp $
PKGNAME= php-${PHP_BASE_VERS}
+PKGREVISION= 1
CATEGORIES= lang
HOMEPAGE= http://www.php.net/
COMMENT= PHP Hypertext Preprocessor version 5
diff --git a/lang/php5/Makefile.php b/lang/php5/Makefile.php
index 9e1e3606ed2..092b370789c 100644
--- a/lang/php5/Makefile.php
+++ b/lang/php5/Makefile.php
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.php,v 1.42 2010/07/24 22:23:15 tron Exp $
+# $NetBSD: Makefile.php,v 1.43 2011/02/15 20:52:24 shattered Exp $
#
.include "../../lang/php5/Makefile.common"
@@ -93,3 +93,6 @@ CONFIGURE_ARGS+= --without-openssl
.if !empty(PKG_OPTIONS:Mmaintainer-zts)
CONFIGURE_ARGS+= --enable-maintainer-zts
.endif
+
+DL_AUTO_VARS= yes
+.include "../../mk/dlopen.buildlink3.mk"