mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-01 18:32:58 +02:00
libxslt: unbreak cross compilation.
This commit is contained in:
parent
7791ad5751
commit
7838ad7297
1 changed files with 2 additions and 6 deletions
|
@ -1,10 +1,10 @@
|
||||||
# Template build file for 'libxslt'.
|
# Template build file for 'libxslt'.
|
||||||
pkgname=libxslt
|
pkgname=libxslt
|
||||||
version=1.1.30
|
version=1.1.30
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--disable-static"
|
configure_args="--disable-static"
|
||||||
makedepends="python-devel libxml2-devel libgcrypt-devel"
|
makedepends="python-devel libxml2-devel libxml2-python libgcrypt-devel"
|
||||||
short_desc="XSLT parser library from the GNOME project"
|
short_desc="XSLT parser library from the GNOME project"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
homepage="http://xmlsoft.org/XSLT/"
|
homepage="http://xmlsoft.org/XSLT/"
|
||||||
|
@ -14,10 +14,6 @@ checksum=ba65236116de8326d83378b2bd929879fa185195bc530b9d1aba72107910b6b3
|
||||||
|
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
hostmakedepends="libtool automake gettext-devel ${makedepends}"
|
hostmakedepends="libtool automake gettext-devel ${makedepends}"
|
||||||
pre_configure() {
|
|
||||||
sed -e "s|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|g" -i configure.in
|
|
||||||
autoreconf -fi
|
|
||||||
}
|
|
||||||
pre_build() {
|
pre_build() {
|
||||||
sed -e "s|/usr/\(include/python2.7\)|$XBPS_CROSS_BASE/\1|g" \
|
sed -e "s|/usr/\(include/python2.7\)|$XBPS_CROSS_BASE/\1|g" \
|
||||||
-e "s|/usr/\(lib/python2.7/site-packages\)|$XBPS_CROSS_BASE/\1|g" \
|
-e "s|/usr/\(lib/python2.7/site-packages\)|$XBPS_CROSS_BASE/\1|g" \
|
||||||
|
|
Loading…
Add table
Reference in a new issue