aboutsummaryrefslogtreecommitdiffstats
path: root/main/libpthread-stubs
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2017-06-28 23:43:54 +0000
committerJakub Jirutka <jakub@jirutka.cz>2017-07-28 01:03:55 +0200
commit46f367797c0f51f7e8233917412cff21e5011a8f (patch)
tree99d4f5365ca07f1d89a8a005c789465c06e9145a /main/libpthread-stubs
parent4fcd9c360d5992f323bc733d22adf454f4f1d7b3 (diff)
downloadaports-46f367797c0f51f7e8233917412cff21e5011a8f.tar.bz2
aports-46f367797c0f51f7e8233917412cff21e5011a8f.tar.xz
main/libpthread-stubs: pthread_exit is detected now
Diffstat (limited to 'main/libpthread-stubs')
-rw-r--r--main/libpthread-stubs/APKBUILD12
1 files changed, 5 insertions, 7 deletions
diff --git a/main/libpthread-stubs/APKBUILD b/main/libpthread-stubs/APKBUILD
index d322460970..d5106e002a 100644
--- a/main/libpthread-stubs/APKBUILD
+++ b/main/libpthread-stubs/APKBUILD
@@ -1,19 +1,20 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libpthread-stubs
pkgver=0.3
-pkgrel=3
+pkgrel=4
pkgdesc="Pthread functions stubs for platforms missing them"
url="http://cgit.freedesktop.org/xcb/pthread-stubs"
arch="all"
license="X11"
depends=
+options="!dbg"
source="http://xcb.freedesktop.org/dist/$pkgname-$pkgver.tar.bz2"
_builddir="$srcdir/$pkgname-$pkgver"
prepare() {
cd "$_builddir"
- update_config_sub || return 1
+ update_config_sub
}
build() {
@@ -21,11 +22,8 @@ build() {
./configure \
--build=$CBUILD \
--host=$CHOST \
- --prefix=/usr \
- || return 1
- # we actually have pthread_exit, the configure script just
- # fails to detect it
- make CFLAGS="$CFLAGS -DHAVE_PTHREAD_EXIT=1"
+ --prefix=/usr
+ make
}
package() {