summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2009-05-09 13:20:50 +0000
committerAlin Năstac <mrness@gentoo.org>2009-05-09 13:20:50 +0000
commit93c3ecdcfd2f1e303b6f38a25d13684bf46bcb11 (patch)
treeafd6e9c806f6d46782a6466176688a94e9a3a783 /net-dialup/ppp
parentMigrate to EAPI 2. (diff)
downloadgentoo-2-93c3ecdcfd2f1e303b6f38a25d13684bf46bcb11.tar.gz
gentoo-2-93c3ecdcfd2f1e303b6f38a25d13684bf46bcb11.tar.bz2
gentoo-2-93c3ecdcfd2f1e303b6f38a25d13684bf46bcb11.zip
Migrate to EAPI 2.
(Portage version: 2.1.6.7/cvs/Linux x86_64)
Diffstat (limited to 'net-dialup/ppp')
-rw-r--r--net-dialup/ppp/ChangeLog5
-rw-r--r--net-dialup/ppp/ppp-2.4.4-r22.ebuild17
2 files changed, 14 insertions, 8 deletions
diff --git a/net-dialup/ppp/ChangeLog b/net-dialup/ppp/ChangeLog
index 79b3bd0bd667..901bdc7a224a 100644
--- a/net-dialup/ppp/ChangeLog
+++ b/net-dialup/ppp/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-dialup/ppp
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/ppp/ChangeLog,v 1.234 2009/05/06 16:23:46 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/ppp/ChangeLog,v 1.235 2009/05/09 13:20:50 mrness Exp $
+
+ 09 May 2009; Alin Năstac <mrness@gentoo.org> ppp-2.4.4-r22.ebuild:
+ Migrate to EAPI 2.
*ppp-2.4.4-r22 (06 May 2009)
diff --git a/net-dialup/ppp/ppp-2.4.4-r22.ebuild b/net-dialup/ppp/ppp-2.4.4-r22.ebuild
index 3a180a7f6ce7..9a0b62a36881 100644
--- a/net-dialup/ppp/ppp-2.4.4-r22.ebuild
+++ b/net-dialup/ppp/ppp-2.4.4-r22.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/ppp/ppp-2.4.4-r22.ebuild,v 1.1 2009/05/06 16:23:46 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/ppp/ppp-2.4.4-r22.ebuild,v 1.2 2009/05/09 13:20:50 mrness Exp $
+
+EAPI="2"
inherit eutils toolchain-funcs linux-info pam
@@ -20,6 +22,7 @@ DEPEND="activefilter? ( >=virtual/libpcap-0.9.4 )
pam? ( virtual/pam )
gtk? ( >=x11-libs/gtk+-2.8 )
eap-tls? ( net-misc/curl >=dev-libs/openssl-0.9.7 )"
+RDEPEND="${DEPEND}"
pkg_setup() {
if use mppe-mppc; then
@@ -35,10 +38,7 @@ pkg_setup() {
fi
}
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
+src_prepare() {
epatch "${WORKDIR}/patch/make-vars.patch"
epatch "${WORKDIR}/patch/mpls.patch"
epatch "${WORKDIR}/patch/killaddr-smarter.patch"
@@ -118,10 +118,13 @@ src_unpack() {
}
}
-src_compile() {
+src_configure() {
export CC="$(tc-getCC)"
export AR="$(tc-getAR)"
- econf || die "configuration failed"
+ econf || die "econf failed"
+}
+
+src_compile() {
emake COPTS="${CFLAGS} -D_GNU_SOURCE" || die "compile failed"
#build pppgetpass