summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-01-29 07:36:29 +0000
committerMike Frysinger <vapier@gentoo.org>2006-01-29 07:36:29 +0000
commitd54f58ebae140e385039aab726d2e02af62ffbf5 (patch)
treed58499a2642b305f96614dc4da5299b0d46c210e /app-arch/pure-sfv
parentAdd modular X dependencies. (diff)
downloadgentoo-2-d54f58ebae140e385039aab726d2e02af62ffbf5.tar.gz
gentoo-2-d54f58ebae140e385039aab726d2e02af62ffbf5.tar.bz2
gentoo-2-d54f58ebae140e385039aab726d2e02af62ffbf5.zip
fix building with gcc-4
(Portage version: 2.1_pre3-r1)
Diffstat (limited to 'app-arch/pure-sfv')
-rw-r--r--app-arch/pure-sfv/pure-sfv-0.3.ebuild14
1 files changed, 6 insertions, 8 deletions
diff --git a/app-arch/pure-sfv/pure-sfv-0.3.ebuild b/app-arch/pure-sfv/pure-sfv-0.3.ebuild
index ee2dfe4a0dc5..506fa1aceea6 100644
--- a/app-arch/pure-sfv/pure-sfv-0.3.ebuild
+++ b/app-arch/pure-sfv/pure-sfv-0.3.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-arch/pure-sfv/pure-sfv-0.3.ebuild,v 1.12 2005/11/29 03:00:00 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-arch/pure-sfv/pure-sfv-0.3.ebuild,v 1.13 2006/01/29 07:36:29 vapier Exp $
DESCRIPTION="utility to test and create .sfv files and create .par files"
HOMEPAGE="http://pure-sfv.sourceforge.net/"
@@ -10,18 +10,16 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~hppa ppc sparc x86"
IUSE=""
+RESTRICT="test"
-DEPEND="virtual/libc"
+DEPEND=""
S=${WORKDIR}
src_unpack() {
unpack ${A}
- sed -i 's:-O2 -g::' ${S}/Makefile
-}
-
-src_compile() {
- emake || die
+ cd "${S}"
+ sed -i 's:-O2 -g::;s:-Werror::' Makefile
}
src_install() {