From 532a3061e3061aa660fc2df58f03fbf739359c3a Mon Sep 17 00:00:00 2001 From: Jan S Date: Sun, 13 Apr 2014 23:47:32 +0200 Subject: [PATCH] geany: fix build; added cross build support --- srcpkgs/geany/patches/configure.patch | 17 +++++++++++++++++ srcpkgs/geany/template | 6 +++--- 2 files changed, 20 insertions(+), 3 deletions(-) create mode 100644 srcpkgs/geany/patches/configure.patch diff --git a/srcpkgs/geany/patches/configure.patch b/srcpkgs/geany/patches/configure.patch new file mode 100644 index 00000000000..17adbf4ddfe --- /dev/null +++ b/srcpkgs/geany/patches/configure.patch @@ -0,0 +1,17 @@ +--- configure 2014-04-13 23:37:52.355000000 +0200 ++++ configure 2014-04-13 23:38:32.853000000 +0200 +@@ -6140,14 +6140,6 @@ + am__fastdepCXX_FALSE= + fi + +- +-# check for C++ compiler explicitly and fail if none is found, do this check +-# after AC_PROG_CXX has set the CXX environment variable +-if ! which $CXX >/dev/null 2>&1; then +- as_fn_error $? "No C++ compiler found. Please install a C++ compiler." "$LINENO" 5 +-fi +- +- + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 + $as_echo_n "checking whether ln -s works... " >&6; } + LN_S=$as_ln_s diff --git a/srcpkgs/geany/template b/srcpkgs/geany/template index 8a973b54991..a7af9100488 100644 --- a/srcpkgs/geany/template +++ b/srcpkgs/geany/template @@ -1,8 +1,9 @@ # Template file for 'geany' pkgname=geany version=1.24 -revision=1 -build_style=waf +revision=2 +build_style=configure +configure_args=" --prefix=/usr" hostmakedepends="pkg-config intltool python" makedepends="gtk+-devel vte-devel" depends="hicolor-icon-theme desktop-file-utils" @@ -12,7 +13,6 @@ license="GPL-2" homepage="http://www.geany.org" distfiles="http://download.${pkgname}.org/${pkgname}-${version}.tar.bz2" checksum=51c37690fea9b7a9baaf7f9158c5d88d86ae81d44409ec0460aa0445fe0a039f -only_for_archs="x86_64 i686" geany-plugins_package() { depends="geany>=$version"