summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorsten Veller <tove@gentoo.org>2005-05-08 14:45:44 +0000
committerTorsten Veller <tove@gentoo.org>2005-05-08 14:45:44 +0000
commitd94c0df20a17bf0cd5681c9056162e437ac24727 (patch)
treef54bfafc041816a69ec08209be3e698d6d99a0ba /net-dialup
parentStable on amd64. (diff)
downloadgentoo-2-d94c0df20a17bf0cd5681c9056162e437ac24727.tar.gz
gentoo-2-d94c0df20a17bf0cd5681c9056162e437ac24727.tar.bz2
gentoo-2-d94c0df20a17bf0cd5681c9056162e437ac24727.zip
using toolchain-funcs.
(Portage version: 2.0.51.21-r1)
Diffstat (limited to 'net-dialup')
-rw-r--r--net-dialup/ppp/ChangeLog5
-rw-r--r--net-dialup/ppp/ppp-2.4.3-r3.ebuild12
2 files changed, 11 insertions, 6 deletions
diff --git a/net-dialup/ppp/ChangeLog b/net-dialup/ppp/ChangeLog
index 9c107a28e359..ffc889978584 100644
--- a/net-dialup/ppp/ChangeLog
+++ b/net-dialup/ppp/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-dialup/ppp
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/ppp/ChangeLog,v 1.106 2005/05/08 14:07:40 mrness Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/ppp/ChangeLog,v 1.107 2005/05/08 14:45:44 tove Exp $
+
+ 08 May 2005; Torsten Veller <tove@gentoo.org> ppp-2.4.3-r3.ebuild:
+ using toolchain-funcs
*ppp-2.4.3-r3 (08 May 2005)
diff --git a/net-dialup/ppp/ppp-2.4.3-r3.ebuild b/net-dialup/ppp/ppp-2.4.3-r3.ebuild
index ba88eb5096d5..cc743722cf38 100644
--- a/net-dialup/ppp/ppp-2.4.3-r3.ebuild
+++ b/net-dialup/ppp/ppp-2.4.3-r3.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/ppp/ppp-2.4.3-r3.ebuild,v 1.1 2005/05/08 14:07:41 mrness Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/ppp/ppp-2.4.3-r3.ebuild,v 1.2 2005/05/08 14:45:44 tove Exp $
-inherit eutils gnuconfig flag-o-matic
+inherit eutils flag-o-matic toolchain-funcs
DESCRIPTION="Point-to-Point Protocol (PPP)"
HOMEPAGE="http://www.samba.org/ppp"
@@ -70,12 +70,14 @@ src_unpack() {
sed -i "s/-O2/${CFLAGS} -fPIC/" ${S}/pppd/plugins/dhcp/Makefile.linux
epatch ${FILESDIR}/ppp-sys_error_to_strerror.patch || die
}
+
+ find ${S} -type f -name Makefile.linux \
+ -exec sed -i -e '/^CC[[:space:]]*=/d' {} \;
}
src_compile() {
- #export WANT_AUTOCONF=2.1
- #gnuconfig_update
- # compile radius better than their makefile does
+ export CC="$(tc-getCC)"
+ export AR="$(tc-getAR)"
append-ldflags -Wl,-z,now
econf || die "configuration failed"
emake COPTS="${CFLAGS}" || die "compile failed"