aboutsummaryrefslogtreecommitdiffstats
path: root/main/php
diff options
context:
space:
mode:
Diffstat (limited to 'main/php')
-rw-r--r--main/php/APKBUILD5
1 files changed, 4 insertions, 1 deletions
diff --git a/main/php/APKBUILD b/main/php/APKBUILD
index f5d971a5dd..a43bd2eb3d 100644
--- a/main/php/APKBUILD
+++ b/main/php/APKBUILD
@@ -3,7 +3,7 @@
pkgname=php
pkgver=5.2.10
_suhosinver=${pkgver}-0.9.7
-pkgrel=3
+pkgrel=4
pkgdesc="The PHP language runtime engine"
url="http://www.php.net/"
license="PHP-3"
@@ -159,6 +159,9 @@ build() {
--with-pic \
$phpextensions
+ # see #183
+ sed -i -e '/^BUILD_CGI/s/$(LDFLAGS)/-lpthread $(LDFLAGS)/' Makefile
+
make || return 1
make -j1 INSTALL_ROOT="$pkgdir" install || return 1
# fix the extension_dir