summaryrefslogtreecommitdiff
path: root/user/argp-standalone/APKBUILD
diff options
context:
space:
mode:
authorMax Rees <maxcrees@me.com>2019-07-18 05:56:15 -0400
committerMax Rees <maxcrees@me.com>2019-08-07 17:58:29 -0500
commit17ca3641eaad94f05d1c9f66593c67e425268050 (patch)
tree2e1d7120295efd6554ba53e80e1d09df953af9a3 /user/argp-standalone/APKBUILD
parent1f6216d991bce5b6df02a7934ae17912313ab0d9 (diff)
downloadpackages-17ca3641eaad94f05d1c9f66593c67e425268050.tar.gz
packages-17ca3641eaad94f05d1c9f66593c67e425268050.tar.bz2
packages-17ca3641eaad94f05d1c9f66593c67e425268050.tar.xz
packages-17ca3641eaad94f05d1c9f66593c67e425268050.zip
user/argp-standalone: rebuild as PIC
Diffstat (limited to 'user/argp-standalone/APKBUILD')
-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
}