xmlsec1: apply sed substitution only in cross builds.

This commit is contained in:
Juan RP 2014-02-23 18:04:17 +01:00
parent db2b990303
commit 7bbf86a68f

View file

@ -17,7 +17,9 @@ pre_configure() {
}
post_install() {
sed -e "s,${XBPS_CROSS_BASE},,g" -i ${DESTDIR}/usr/lib/xmlsec1Conf.sh
if [ "$CROSS_BUILD" ]; then
sed -e "s,${XBPS_CROSS_BASE},,g" -i ${DESTDIR}/usr/lib/xmlsec1Conf.sh
fi
}
xmlsec1-devel_package() {