From ed710b399c6a22626aab068537abd7ae5c91671d Mon Sep 17 00:00:00 2001 From: Bryon Roche Date: Mon, 2 Dec 2002 23:48:08 +0000 Subject: Fix for differing autoconf versions in subtrees. Without this, AC_CONFIG_SUBDIRS breaks. --- .../gnome-vfs-extras-0.99.6.ebuild | 23 ++++++++++++++++++---- 1 file changed, 19 insertions(+), 4 deletions(-) (limited to 'gnome-extra/gnome-vfs-extras') diff --git a/gnome-extra/gnome-vfs-extras/gnome-vfs-extras-0.99.6.ebuild b/gnome-extra/gnome-vfs-extras/gnome-vfs-extras-0.99.6.ebuild index 753239efdbdd..ab6eb0549d3e 100644 --- a/gnome-extra/gnome-vfs-extras/gnome-vfs-extras-0.99.6.ebuild +++ b/gnome-extra/gnome-vfs-extras/gnome-vfs-extras-0.99.6.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-vfs-extras/gnome-vfs-extras-0.99.6.ebuild,v 1.1 2002/11/13 16:40:29 foser Exp $ +# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-vfs-extras/gnome-vfs-extras-0.99.6.ebuild,v 1.2 2002/12/02 23:48:08 kain Exp $ inherit gnome2 @@ -17,8 +17,23 @@ RDEPEND=">=gnome-base/gnome-vfs-2" DEPEND="${RDEPEND} >=dev-util/intltool-0.20 - >=dev-util/pkgconfig-0.12.0" - -unset CXXFLAGS CFLAGS + >=dev-util/pkgconfig-0.12.0 + >=sys-devel/autoconf-2.52" +src_unpack() { + unpack ${A} || die "unpack failed" + cd ${S}/samba + echo 'AC_PREREQ(2.52)' | cat - configure.in > configure.in.hacked + mv configure.in.hacked configure.in || die + autoconf +} + +src_compile() { + cd ${S}/samba + elibtoolize ${ELTCONF} + cd ${S} + gnome2_src_configure + emake || die "compile failure" +} + DOCS="AUTHORS COPYING ChangeLog INSTALL NEWS README" -- cgit v1.2.3-65-gdbad