vte: use generic python-config wrapper.
This commit is contained in:
parent
b144622f78
commit
ca814bde6a
@ -1,7 +1,7 @@
|
|||||||
# Template build file for 'vte'.
|
# Template build file for 'vte'.
|
||||||
pkgname=vte
|
pkgname=vte
|
||||||
version=0.28.2
|
version=0.28.2
|
||||||
revision=7
|
revision=8
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--disable-static --with-gtk=2.0"
|
configure_args="--disable-static --with-gtk=2.0"
|
||||||
hostmakedepends="automake gettext-devel gtk-doc gobject-introspection libtool pkg-config intltool python-devel glib-devel pygtk-devel"
|
hostmakedepends="automake gettext-devel gtk-doc gobject-introspection libtool pkg-config intltool python-devel glib-devel pygtk-devel"
|
||||||
@ -16,13 +16,9 @@ checksum=8d04e202b617373dfb47689e5e628febe2c58840b34cccc4af4feb88c48df903
|
|||||||
pre_configure() {
|
pre_configure() {
|
||||||
NOCONFIGURE=1 autoreconf -fi
|
NOCONFIGURE=1 autoreconf -fi
|
||||||
}
|
}
|
||||||
|
|
||||||
do_configure() {
|
do_configure() {
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
# XXX share python-config wrapper for all pkgs.
|
ln -s ${wrksrc}/.xbps/bin/python-config ${wrksrc}
|
||||||
# create a python-config wrapper to fake --includes
|
|
||||||
install -m755 ${XBPS_SRCPKGDIR}/py2cairo/files/python-config ${wrksrc}
|
|
||||||
export PATH=${wrksrc}:$PATH
|
|
||||||
fi
|
fi
|
||||||
env PYTHON=python ./configure ${configure_args}
|
env PYTHON=python ./configure ${configure_args}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user