Skip to content
Snippets Groups Projects
Verified Commit 17ca3641 authored by Max Rees's avatar Max Rees
Browse files

user/argp-standalone: rebuild as PIC

parent 1f6216d9
No related branches found
No related tags found
1 merge request!315Misc changes, 2019.08.07
......@@ -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
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment