liblrdf: remove cross base from pkgconfig file

Closes: #10536 [via git-merge-pr]
This commit is contained in:
newbluemoon 2018-01-06 23:34:30 +01:00 committed by Jürgen Buchmüller
parent 228054fdcf
commit aaa1549f79
1 changed files with 7 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'liblrdf' # Template file for 'liblrdf'
pkgname=liblrdf pkgname=liblrdf
version=0.4.0 version=0.4.0
revision=5 revision=6
build_style=gnu-configure build_style=gnu-configure
hostmakedepends="automake libtool pkg-config" hostmakedepends="automake libtool pkg-config"
makedepends="ladspa-sdk raptor-devel" makedepends="ladspa-sdk raptor-devel"
@ -16,6 +16,12 @@ pre_configure() {
autoreconf -fi autoreconf -fi
} }
if [ -n "$CROSS_BUILD" ]; then
post_build() {
sed -i -e "s|${XBPS_CROSS_BASE}||" lrdf.pc
}
fi
liblrdf-devel_package() { liblrdf-devel_package() {
depends="raptor-devel ${sourcepkg}>=${version}_${revision}" depends="raptor-devel ${sourcepkg}>=${version}_${revision}"
short_desc+=" - Development files" short_desc+=" - Development files"