summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarald van Dijk <truedfx@gentoo.org>2006-10-27 14:17:41 +0000
committerHarald van Dijk <truedfx@gentoo.org>2006-10-27 14:17:41 +0000
commit81af23b82bc4aa96ccd24c11aaa0892f8c8e620f (patch)
tree5d8546e10c055ff3f6b377e32375358bb1ede38f /x11-wm/sawfish
parentStable on sparc (diff)
downloadgentoo-2-81af23b82bc4aa96ccd24c11aaa0892f8c8e620f.tar.gz
gentoo-2-81af23b82bc4aa96ccd24c11aaa0892f8c8e620f.tar.bz2
gentoo-2-81af23b82bc4aa96ccd24c11aaa0892f8c8e620f.zip
Fix use of autotools
(Portage version: 2.1.2_pre3-r8)
Diffstat (limited to 'x11-wm/sawfish')
-rw-r--r--x11-wm/sawfish/ChangeLog6
-rw-r--r--x11-wm/sawfish/sawfish-1.3.20060816.ebuild24
2 files changed, 18 insertions, 12 deletions
diff --git a/x11-wm/sawfish/ChangeLog b/x11-wm/sawfish/ChangeLog
index 798cd3c7e5fd..e8d37a7e71ed 100644
--- a/x11-wm/sawfish/ChangeLog
+++ b/x11-wm/sawfish/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for x11-wm/sawfish
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-wm/sawfish/ChangeLog,v 1.72 2006/10/15 00:44:28 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-wm/sawfish/ChangeLog,v 1.73 2006/10/27 14:17:41 truedfx Exp $
+
+ 27 Oct 2006; Harald van Dijk <truedfx@gentoo.org>
+ sawfish-1.3.20060816.ebuild:
+ Fix use of autotools
15 Oct 2006; Aron Griffis <agriffis@gentoo.org>
sawfish-1.3.20060816.ebuild:
diff --git a/x11-wm/sawfish/sawfish-1.3.20060816.ebuild b/x11-wm/sawfish/sawfish-1.3.20060816.ebuild
index 865460524ee3..c912b72d3fc6 100644
--- a/x11-wm/sawfish/sawfish-1.3.20060816.ebuild
+++ b/x11-wm/sawfish/sawfish-1.3.20060816.ebuild
@@ -1,12 +1,18 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-wm/sawfish/sawfish-1.3.20060816.ebuild,v 1.2 2006/10/15 00:44:28 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-wm/sawfish/sawfish-1.3.20060816.ebuild,v 1.3 2006/10/27 14:17:41 truedfx Exp $
# detect cvs snapshots; fex. 1.3.20040120
[[ $PV == *.[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9] ]]
(( snapshot = !$? ))
-inherit eutils
+if (( snapshot )); then
+ WANT_AUTOCONF=latest
+ WANT_AUTOMAKE=latest
+ inherit eutils autotools
+else
+ inherit eutils
+fi
DESCRIPTION="Extensible window manager using a Lisp-based scripting language"
HOMEPAGE="http://sawmill.sourceforge.net/"
@@ -31,9 +37,6 @@ DEPEND=">=dev-util/pkgconfig-0.12.0
RDEPEND="${DEPEND}"
if (( snapshot )); then
- DEPEND="${DEPEND}
- sys-devel/automake
- sys-devel/autoconf"
S="${WORKDIR}/${PN}"
fi
@@ -48,6 +51,11 @@ src_unpack() {
epatch "${FILESDIR}"/sawfish-xft-menu-utf8.patch
# Fix KDE menus
epatch "${FILESDIR}"/sawfish-kde-menus.patch
+
+ if (( snapshot )); then
+ eaclocal || die
+ eautoconf || die
+ fi
}
src_compile() {
@@ -56,12 +64,6 @@ src_compile() {
export C_INCLUDE_PATH="${C_INCLUDE_PATH}:/usr/include/freetype2"
export CPLUS_INCLUDE_PATH="${CPLUS_INCLUDE_PATH}:/usr/include/freetype2"
- # If this is a snapshot then we need to create the autoconf stuff
- if (( snapshot )); then
- aclocal || die "aclocal failed"
- autoconf || die "autoconf failed"
- fi
-
set -- \
--disable-themer \
--with-gdk-pixbuf \