summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--user/argp-standalone/APKBUILD7
1 files changed, 2 insertions, 5 deletions
diff --git a/user/argp-standalone/APKBUILD b/user/argp-standalone/APKBUILD
index 846ed4c61..8bb36de5f 100644
--- a/user/argp-standalone/APKBUILD
+++ b/user/argp-standalone/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=argp-standalone
pkgver=1.3
-pkgrel=4
+pkgrel=5
pkgdesc="Hierarchial argument parsing library broken out from glibc"
url="http://www.lysator.liu.se/~nisse/misc/"
arch="all"
@@ -15,15 +15,13 @@ source="http://www.lysator.liu.se/~nisse/misc/$pkgname-$pkgver.tar.gz
gnu89-inline.patch
"
-builddir="$srcdir"/$pkgname-$pkgver
prepare() {
default_prepare
- cd "$builddir"
autoreconf -vif
}
build() {
- cd "$builddir"
+ export CFLAGS="$CFLAGS -fPIC"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -39,7 +37,6 @@ check() {
}
package() {
- cd "$builddir"
install -D -m644 argp.h "$pkgdir"/usr/include/argp.h
install -D -m755 libargp.a "$pkgdir"/usr/lib/libargp.a
}