summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Callen <abcd@gentoo.org>2010-04-06 06:08:42 +0000
committerJonathan Callen <abcd@gentoo.org>2010-04-06 06:08:42 +0000
commit74fdb234e54ea6b7f9e4c42f0785d06fddf2ae5f (patch)
tree4696453f0d4e7b08ef01b360324ce09981d2940e /app-crypt/bsign/bsign-0.4.5.ebuild
parentBump to EAPI=3, add prefix keywords, QA fixes (diff)
downloadgentoo-2-74fdb234e54ea6b7f9e4c42f0785d06fddf2ae5f.tar.gz
gentoo-2-74fdb234e54ea6b7f9e4c42f0785d06fddf2ae5f.tar.bz2
gentoo-2-74fdb234e54ea6b7f9e4c42f0785d06fddf2ae5f.zip
Add prefix keywords, patch
(Portage version: -svn/cvs/Linux i686)
Diffstat (limited to 'app-crypt/bsign/bsign-0.4.5.ebuild')
-rw-r--r--app-crypt/bsign/bsign-0.4.5.ebuild9
1 files changed, 6 insertions, 3 deletions
diff --git a/app-crypt/bsign/bsign-0.4.5.ebuild b/app-crypt/bsign/bsign-0.4.5.ebuild
index d8974ff0a95d..e6f28d081aeb 100644
--- a/app-crypt/bsign/bsign-0.4.5.ebuild
+++ b/app-crypt/bsign/bsign-0.4.5.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/bsign/bsign-0.4.5.ebuild,v 1.9 2008/12/30 17:50:04 angelos Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/bsign/bsign-0.4.5.ebuild,v 1.10 2010/04/06 06:08:41 abcd Exp $
inherit autotools toolchain-funcs
@@ -10,13 +10,16 @@ SRC_URI="mirror://debian/pool/main/b/${PN}/${PN}_${PV}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~x86 ~ppc"
+KEYWORDS="~ppc ~x86 ~x86-linux ~ppc-macos"
IUSE=""
src_unpack() {
unpack ${A}
cd "${S}"
+ epatch "${FILESDIR}"/${P}-non-gnu.patch # for Darwin, BSD, Solaris, etc.
+ [[ ${CHOST} == *-darwin* ]] && sed -i -e '/^LFLAGS/s/-static//' Makefile.in
+
sed -i -e "/^CFLAGS/d" \
-e "/^CXXFLAGS/d" configure.in
eautoreconf