summaryrefslogtreecommitdiffstats
path: root/x11/libpthread-stubs/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-01-22 22:33:49 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-01-22 22:33:49 +0000
commitadb76639f87c2f397760b2c986aa6b2ed631c1a6 (patch)
treebd46971f420df744653804e592114bc7adae1308 /x11/libpthread-stubs/APKBUILD
parent4c3e0c0ca313d0a45ac0916a7500f7a4bfb6c481 (diff)
downloadaports-adb76639f87c2f397760b2c986aa6b2ed631c1a6.tar.bz2
aports-adb76639f87c2f397760b2c986aa6b2ed631c1a6.tar.xz
x11/libpthread-stubs: upgrade to 0.3
Diffstat (limited to 'x11/libpthread-stubs/APKBUILD')
-rw-r--r--x11/libpthread-stubs/APKBUILD14
1 files changed, 10 insertions, 4 deletions
diff --git a/x11/libpthread-stubs/APKBUILD b/x11/libpthread-stubs/APKBUILD
index fd565293..7ca630b4 100644
--- a/x11/libpthread-stubs/APKBUILD
+++ b/x11/libpthread-stubs/APKBUILD
@@ -1,17 +1,23 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libpthread-stubs
-pkgver=0.1
+pkgver=0.3
pkgrel=0
pkgdesc="Pthread functions stubs for platforms missing them"
url="http://cgit.freedesktop.org/xcb/pthread-stubs"
license="X11"
-depends="uclibc"
+depends=
source="http://xcb.freedesktop.org/dist/$pkgname-$pkgver.tar.bz2"
build() {
cd "$srcdir"/$pkgname-$pkgver
./configure --prefix=/usr
- make
+ # we actually have pthread_exit, the configure script just
+ # fails to detect it
+ make CFLAGS="$CFLAGS -DHAVE_PTHREAD_EXIT=1"
+}
+
+package() {
+ cd "$srcdir"/$pkgname-$pkgver
make -j1 DESTDIR="$pkgdir" install
}
-md5sums="774eabaf33440d534efe108ef9130a7d libpthread-stubs-0.1.tar.bz2"
+md5sums="e8fa31b42e13f87e8f5a7a2b731db7ee libpthread-stubs-0.3.tar.bz2"