summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2008-10-18 07:15:40 +0000
committerAlin Năstac <mrness@gentoo.org>2008-10-18 07:15:40 +0000
commit789ed2dc56c7ff9a6583a69fbb38bae6ac5353d5 (patch)
tree64e6479b0a0c326c729cbdcaa00f2d1e387aaac8 /net-dialup
parentStable for HPPA (bug #239851). (diff)
downloadgentoo-2-789ed2dc56c7ff9a6583a69fbb38bae6ac5353d5.tar.gz
gentoo-2-789ed2dc56c7ff9a6583a69fbb38bae6ac5353d5.tar.bz2
gentoo-2-789ed2dc56c7ff9a6583a69fbb38bae6ac5353d5.zip
Pass Makefile parameters through emake command line (#240872).
(Portage version: 2.1.4.4)
Diffstat (limited to 'net-dialup')
-rw-r--r--net-dialup/cistronradius/ChangeLog7
-rw-r--r--net-dialup/cistronradius/cistronradius-1.6.8.ebuild14
2 files changed, 13 insertions, 8 deletions
diff --git a/net-dialup/cistronradius/ChangeLog b/net-dialup/cistronradius/ChangeLog
index 84b4407644a9..4ad487a0a60e 100644
--- a/net-dialup/cistronradius/ChangeLog
+++ b/net-dialup/cistronradius/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-dialup/cistronradius
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/cistronradius/ChangeLog,v 1.17 2007/03/19 13:11:26 kloeri Exp $
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/cistronradius/ChangeLog,v 1.18 2008/10/18 07:15:40 mrness Exp $
+
+ 18 Oct 2008; Alin Năstac <mrness@gentoo.org> cistronradius-1.6.8.ebuild:
+ Pass Makefile parameters through emake command line (#240872).
19 Mar 2007; Bryan Østergaard <kloeri@gentoo.org> metadata.xml:
Remove pfeifer from metadata.xml due to retirement.
diff --git a/net-dialup/cistronradius/cistronradius-1.6.8.ebuild b/net-dialup/cistronradius/cistronradius-1.6.8.ebuild
index 26de87b13422..c8f1882e4140 100644
--- a/net-dialup/cistronradius/cistronradius-1.6.8.ebuild
+++ b/net-dialup/cistronradius/cistronradius-1.6.8.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/cistronradius/cistronradius-1.6.8.ebuild,v 1.3 2006/09/21 12:38:09 mrness Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/cistronradius/cistronradius-1.6.8.ebuild,v 1.4 2008/10/18 07:15:40 mrness Exp $
inherit eutils
@@ -21,16 +21,18 @@ S="${WORKDIR}/radiusd-cistron-${PV}/src"
src_unpack() {
unpack ${A}
- epatch "${FILESDIR}/${P}-gcc41.patch"
cd "${S}"
- sed -i -e "s:/usr/local:/usr:g" \
- -e "s:-Wall -g:${CFLAGS}:g" Makefile
+ epatch "${FILESDIR}/${P}-gcc41.patch"
sed -i -e "s:SHAREDIR/::g" ../raddb/dictionary
mv checkrad.pl checkrad
}
src_compile() {
- emake || die "make failed"
+ emake \
+ CFLAGS="${CFLAGS}" LDFLAGS=${LDFLAGS} \
+ BINDIR=/usr/bin SBINDIR=/usr/sbin \
+ MANDIR=/usr/share/man SHAREDIR=/usr/share/radius \
+ || die "make failed"
}
src_install() {