summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryon Roche <kain@gentoo.org>2002-12-02 23:48:08 +0000
committerBryon Roche <kain@gentoo.org>2002-12-02 23:48:08 +0000
commited710b399c6a22626aab068537abd7ae5c91671d (patch)
tree103fd3b14d38a978cade1a5c6341f14ec89ee4d7
parentSome Fixes. (diff)
downloadgentoo-2-ed710b399c6a22626aab068537abd7ae5c91671d.tar.gz
gentoo-2-ed710b399c6a22626aab068537abd7ae5c91671d.tar.bz2
gentoo-2-ed710b399c6a22626aab068537abd7ae5c91671d.zip
Fix for differing autoconf versions in subtrees. Without this,
AC_CONFIG_SUBDIRS breaks.
-rw-r--r--gnome-extra/gnome-vfs-extras/gnome-vfs-extras-0.99.6.ebuild23
1 files changed, 19 insertions, 4 deletions
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"