musl-obstack: set pkgconfigdir

This commit is contained in:
Jürgen Buchmüller 2017-01-15 04:08:29 +01:00
parent 59e5d428db
commit 085638cd07
1 changed files with 2 additions and 4 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'musl-obstack'
pkgname=musl-obstack
version=1.1
revision=1
revision=2
build_style=gnu-configure
hostmakedepends="automake libtool"
configure_args="--disable-shared"
@ -15,9 +15,7 @@ checksum=52a216613e7d55e8725e43d017bb2d49a4b1ffa1e06da472f03c7f9875df7d0d
CFLAGS="-fPIC"
pre_configure() {
# Remove the pkgconfig_DATA we don't use or need
# TODO: find how pkgconfigdir is set in order to keep this line
sed -i "/pkgconfig_DATA/d" Makefile.am
sed -i "/pkgconfig_DATA/i pkgconfigdir=\$(libdir)/pkgconfig" Makefile.am
./bootstrap.sh
}