xmlsec1: remove $XBPS_CROSS_BASE reference from pkg-config

See-also: #19642
This commit is contained in:
Đoàn Trần Công Danh 2020-05-19 21:55:50 +07:00 committed by Đoàn Trần Công Danh
parent 33fb64640a
commit 653892828d
2 changed files with 6 additions and 2 deletions

View file

@ -1503,6 +1503,7 @@ libaqebics.so.0 aqbanking-5.0.25_1
libaqbankingpp.so.0 aqbanking-5.0.25_1
libxmlsec1.so.1 xmlsec1-1.2.19_1
libxmlsec1-nss.so.1 xmlsec1-1.2.28_2
libxmlsec1-openssl.so.1 xmlsec1-1.2.30_1
libcheck.so.0 check-0.9.12_1
liblxc.so.1 liblxc-1.0.0_1
libtcmalloc.so.4 gperftools-2.1_1

View file

@ -1,7 +1,7 @@
# Template file for 'xmlsec1'
pkgname=xmlsec1
version=1.2.30
revision=1
revision=2
build_style=gnu-configure
hostmakedepends="automake libtool pkg-config gnutls-devel"
makedepends="libxslt-devel libltdl-devel libgcrypt-devel gnutls-devel
@ -19,7 +19,10 @@ pre_configure() {
post_install() {
if [ "$CROSS_BUILD" ]; then
vsed -e "s,${XBPS_CROSS_BASE},,g" -i ${DESTDIR}/usr/lib/xmlsec1Conf.sh
vsed -e "s,${XBPS_CROSS_BASE},,g" -i \
$DESTDIR/usr/bin/xmlsec1-config \
$DESTDIR/usr/lib/pkgconfig/xmlsec1-gnutls.pc \
$DESTDIR/usr/lib/xmlsec1Conf.sh
fi
vlicense COPYING