From 1cf6042b5ba0991f6e4c5e9ff8943c3366fc06d4 Mon Sep 17 00:00:00 2001 From: Jasper Chan Date: Sat, 18 Aug 2018 21:24:36 -0700 Subject: [PATCH] geany-plugins: update to 1.33.0. --- srcpkgs/geany-plugins/template | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/srcpkgs/geany-plugins/template b/srcpkgs/geany-plugins/template index de41a980f89..d160c90702b 100644 --- a/srcpkgs/geany-plugins/template +++ b/srcpkgs/geany-plugins/template @@ -1,7 +1,7 @@ # Template file for 'geany-plugins' pkgname=geany-plugins version=1.33.0 -revision=1 +revision=2 build_style=gnu-configure configure_args="--enable-all-plugins" hostmakedepends="automake gettext-devel intltool libtool pkg-config vala @@ -17,13 +17,22 @@ distfiles="https://github.com/geany/${pkgname}/archive/${version}.tar.gz>${pkgna checksum=e889073b573452c91b4d3d87ce45bd4bb57f63e4cde03dea25b6304c5a89bf55 pre_configure() { + # Force python2.7 (configure seems to find the python3 libs for some reason) + rm /usr/bin/python + ln -s python2 /usr/bin/python + NOCONFIGURE=1 ./autogen.sh + if [ "$CROSS_BUILD" ]; then # Use cross prefix for python sed -e "s;-L\$ac_python_libdir;-L${XBPS_CROSS_BASE}/usr/lib;g" \ -e "s;PYTHON_CPPFLAGS=\$python_path;PYTHON_CPPFLAGS=-I${XBPS_CROSS_BASE}/usr/include/python2.7;g" -i configure + else + sed -e "s;-L\$ac_python_libdir;-L/usr/lib;g" \ + -e "s;PYTHON_CPPFLAGS=\$python_path;PYTHON_CPPFLAGS=-I/usr/include/python2.7;g" -i configure fi + } pre_build() {