summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Callen <abcd@gentoo.org>2010-01-15 01:06:53 +0000
committerJonathan Callen <abcd@gentoo.org>2010-01-15 01:06:53 +0000
commit1e98ca5a07268d30e7be4b970c57419d30467013 (patch)
treec310d3be4b475a7a9cc30d44cb1a1e5a87bac89f /app-admin/apg
parentVersion bump. (diff)
downloadgentoo-2-1e98ca5a07268d30e7be4b970c57419d30467013.tar.gz
gentoo-2-1e98ca5a07268d30e7be4b970c57419d30467013.tar.bz2
gentoo-2-1e98ca5a07268d30e7be4b970c57419d30467013.zip
Add prefix keywords
(Portage version: -svn/cvs/Linux i686)
Diffstat (limited to 'app-admin/apg')
-rw-r--r--app-admin/apg/ChangeLog7
-rw-r--r--app-admin/apg/apg-2.3.0b-r4.ebuild8
2 files changed, 10 insertions, 5 deletions
diff --git a/app-admin/apg/ChangeLog b/app-admin/apg/ChangeLog
index ad9a9093c87e..f690a8a2cf43 100644
--- a/app-admin/apg/ChangeLog
+++ b/app-admin/apg/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-admin/apg
-# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/apg/ChangeLog,v 1.25 2008/03/02 13:39:37 swegener Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/apg/ChangeLog,v 1.26 2010/01/15 01:06:53 abcd Exp $
+
+ 15 Jan 2010; Jonathan Callen <abcd@gentoo.org> apg-2.3.0b-r4.ebuild:
+ Add prefix keywords
02 Mar 2008; Sven Wegener <swegener@gentoo.org> apg-2.3.0b-r4.ebuild:
Force own CFLAGS and CC.
diff --git a/app-admin/apg/apg-2.3.0b-r4.ebuild b/app-admin/apg/apg-2.3.0b-r4.ebuild
index f2df6d39f6f1..53592bc7addf 100644
--- a/app-admin/apg/apg-2.3.0b-r4.ebuild
+++ b/app-admin/apg/apg-2.3.0b-r4.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-admin/apg/apg-2.3.0b-r4.ebuild,v 1.2 2008/03/02 13:39:37 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/apg/apg-2.3.0b-r4.ebuild,v 1.3 2010/01/15 01:06:53 abcd Exp $
inherit eutils toolchain-funcs
@@ -10,7 +10,7 @@ SRC_URI="http://www.adel.nursat.kz/apg/download/${P}.tar.gz"
LICENSE="as-is"
SLOT="0"
-KEYWORDS="amd64 hppa ppc ~sparc x86"
+KEYWORDS="amd64 hppa ppc ~sparc x86 ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos"
IUSE="cracklib"
DEPEND="cracklib? ( sys-libs/cracklib )"
@@ -28,6 +28,8 @@ src_unpack() {
src_compile() {
sed -i 's,^#\(APG_CS_CLIBS += -lnsl\)$,\1,' Makefile
+ [[ ${CHOST} == *-darwin* ]] && \
+ sed -i 's,^APG_CLIBS += -lcrypt,APG_CLIBS += ,' Makefile
emake standalone FLAGS="${CFLAGS}" CFLAGS="${CFLAGS}" CC="$(tc-getCC)" || die "compile problem"
emake -C bfconvert FLAGS="${CFLAGS}" CC="$(tc-getCC)" || die "compile problem"