diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-10-12 13:29:37 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-10-12 14:24:48 +0000 |
commit | 23d4c7c30c3238c4e6d28a3d2bb31743bff07d39 (patch) | |
tree | 77e1dd8c55f5bfbd381cf34b066178312aa4651a | |
parent | 87b67cb7877be7267b0482d7448f31121f70f959 (diff) | |
download | alpine_aports-23d4c7c30c3238c4e6d28a3d2bb31743bff07d39.tar.bz2 alpine_aports-23d4c7c30c3238c4e6d28a3d2bb31743bff07d39.tar.xz alpine_aports-23d4c7c30c3238c4e6d28a3d2bb31743bff07d39.zip |
main/php: explicit link to pthread
fixes #183
(cherry picked from commit 9881efaf35fb10a9145a18d71f9af6f019ccab81)
-rw-r--r-- | main/php/APKBUILD | 5 |
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 @@ | |||
3 | pkgname=php | 3 | pkgname=php |
4 | pkgver=5.2.10 | 4 | pkgver=5.2.10 |
5 | _suhosinver=${pkgver}-0.9.7 | 5 | _suhosinver=${pkgver}-0.9.7 |
6 | pkgrel=3 | 6 | pkgrel=4 |
7 | pkgdesc="The PHP language runtime engine" | 7 | pkgdesc="The PHP language runtime engine" |
8 | url="http://www.php.net/" | 8 | url="http://www.php.net/" |
9 | license="PHP-3" | 9 | license="PHP-3" |
@@ -159,6 +159,9 @@ build() { | |||
159 | --with-pic \ | 159 | --with-pic \ |
160 | $phpextensions | 160 | $phpextensions |
161 | 161 | ||
162 | # see #183 | ||
163 | sed -i -e '/^BUILD_CGI/s/$(LDFLAGS)/-lpthread $(LDFLAGS)/' Makefile | ||
164 | |||
162 | make || return 1 | 165 | make || return 1 |
163 | make -j1 INSTALL_ROOT="$pkgdir" install || return 1 | 166 | make -j1 INSTALL_ROOT="$pkgdir" install || return 1 |
164 | # fix the extension_dir | 167 | # fix the extension_dir |