From 1e98ca5a07268d30e7be4b970c57419d30467013 Mon Sep 17 00:00:00 2001 From: Jonathan Callen Date: Fri, 15 Jan 2010 01:06:53 +0000 Subject: Add prefix keywords (Portage version: -svn/cvs/Linux i686) --- app-admin/apg/ChangeLog | 7 +++++-- app-admin/apg/apg-2.3.0b-r4.ebuild | 8 +++++--- 2 files changed, 10 insertions(+), 5 deletions(-) (limited to 'app-admin') 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 apg-2.3.0b-r4.ebuild: + Add prefix keywords 02 Mar 2008; Sven Wegener 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" -- cgit v1.2.3-65-gdbad