From 46f367797c0f51f7e8233917412cff21e5011a8f Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Wed, 28 Jun 2017 23:43:54 +0000 Subject: main/libpthread-stubs: pthread_exit is detected now --- main/libpthread-stubs/APKBUILD | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'main/libpthread-stubs') 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 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() { -- cgit v1.2.3