diff options
author | Alin Năstac <mrness@gentoo.org> | 2009-05-09 13:23:56 +0000 |
---|---|---|
committer | Alin Năstac <mrness@gentoo.org> | 2009-05-09 13:23:56 +0000 |
commit | 5240832a94b625f35dcbb48d966707389608b22a (patch) | |
tree | 83cb6f958f14ae30455d5049264f6b126af63055 /net-dialup/ppp | |
parent | Few minor updates to kde4 eclasses. Introduce kde4-stable-live support. (diff) | |
download | historical-5240832a94b625f35dcbb48d966707389608b22a.tar.gz historical-5240832a94b625f35dcbb48d966707389608b22a.tar.bz2 historical-5240832a94b625f35dcbb48d966707389608b22a.zip |
Migrate to EAPI 2.
Package-Manager: portage-2.1.6.7/cvs/Linux x86_64
Diffstat (limited to 'net-dialup/ppp')
-rw-r--r-- | net-dialup/ppp/ChangeLog | 5 | ||||
-rw-r--r-- | net-dialup/ppp/ppp-2.4.4-r22.ebuild | 17 |
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 |