summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2005-09-02 08:10:39 +0000
committerFabian Groffen <grobian@gentoo.org>2005-09-02 08:10:39 +0000
commitb50041dc432d274fdba034655ad344c964a27741 (patch)
tree8809f4a71a15d4d5b6e8a44787e674328df27565 /dev-libs/libsigsegv/libsigsegv-2.2.ebuild
parentStable on alpha due to security bug #104010 (diff)
downloadgentoo-2-b50041dc432d274fdba034655ad344c964a27741.tar.gz
gentoo-2-b50041dc432d274fdba034655ad344c964a27741.tar.bz2
gentoo-2-b50041dc432d274fdba034655ad344c964a27741.zip
Fixing up the ebuild and adding a patch that allows compilation on ppc-macos
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'dev-libs/libsigsegv/libsigsegv-2.2.ebuild')
-rw-r--r--dev-libs/libsigsegv/libsigsegv-2.2.ebuild15
1 files changed, 8 insertions, 7 deletions
diff --git a/dev-libs/libsigsegv/libsigsegv-2.2.ebuild b/dev-libs/libsigsegv/libsigsegv-2.2.ebuild
index 4d503d7c1749..63fc3e561886 100644
--- a/dev-libs/libsigsegv/libsigsegv-2.2.ebuild
+++ b/dev-libs/libsigsegv/libsigsegv-2.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libsigsegv/libsigsegv-2.2.ebuild,v 1.4 2005/06/14 22:32:34 mkennedy Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libsigsegv/libsigsegv-2.2.ebuild,v 1.5 2005/09/02 08:10:39 grobian Exp $
inherit eutils
@@ -9,17 +9,18 @@ HOMEPAGE="ftp://ftp.gnu.org/pub/gnu/libsigsegv/"
SRC_URI="ftp://ftp.gnu.org/pub/gnu/libsigsegv/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~x86 ~ppc-macos ~amd64 ~sparc"
+KEYWORDS="~amd64 ~ppc-macos ~sparc ~x86"
IUSE=""
DEPEND="virtual/libc"
+src_unpack() {
+ unpack ${A}
+ epatch ${FILESDIR}/${P}-ppc-macos.patch
+}
+
src_compile() {
- if use ppc-macos ; then
- ./configure --enable-shared || die
- else
- econf --enable-shared || die
- fi
+ econf --enable-shared || die
emake || die
}