diff options
author | Mike Frysinger <vapier@gentoo.org> | 2010-09-19 22:28:55 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2010-09-19 22:28:55 +0000 |
commit | 994a81f7933461186d3781f25883ae8a3e171424 (patch) | |
tree | 0d23de908734794a38bcea0a01af0de799aec57c /sys-devel | |
parent | Version bump. (diff) | |
download | gentoo-2-994a81f7933461186d3781f25883ae8a3e171424.tar.gz gentoo-2-994a81f7933461186d3781f25883ae8a3e171424.tar.bz2 gentoo-2-994a81f7933461186d3781f25883ae8a3e171424.zip |
Unify autoconf-2.67 and autoconf-9999 versions.
(Portage version: 2.2_rc83/cvs/Linux x86_64)
Diffstat (limited to 'sys-devel')
-rw-r--r-- | sys-devel/autoconf/ChangeLog | 6 | ||||
-rw-r--r-- | sys-devel/autoconf/autoconf-2.67.ebuild | 22 | ||||
-rw-r--r-- | sys-devel/autoconf/autoconf-9999.ebuild | 34 |
3 files changed, 41 insertions, 21 deletions
diff --git a/sys-devel/autoconf/ChangeLog b/sys-devel/autoconf/ChangeLog index e6b25e6cd0c5..9f352ce25742 100644 --- a/sys-devel/autoconf/ChangeLog +++ b/sys-devel/autoconf/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sys-devel/autoconf # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/autoconf/ChangeLog,v 1.152 2010/09/15 03:02:10 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/autoconf/ChangeLog,v 1.153 2010/09/19 22:28:55 vapier Exp $ + + 19 Sep 2010; Mike Frysinger <vapier@gentoo.org> autoconf-2.67.ebuild, + autoconf-9999.ebuild: + Unify autoconf-2.67 and autoconf-9999 versions. 15 Sep 2010; Jeroen Roovers <jer@gentoo.org> autoconf-2.65-r1.ebuild: Stable for HPPA (bug #336381). diff --git a/sys-devel/autoconf/autoconf-2.67.ebuild b/sys-devel/autoconf/autoconf-2.67.ebuild index 390141ac2d1b..3a68fd9d4024 100644 --- a/sys-devel/autoconf/autoconf-2.67.ebuild +++ b/sys-devel/autoconf/autoconf-2.67.ebuild @@ -1,17 +1,25 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/autoconf/autoconf-2.67.ebuild,v 1.3 2010/09/07 19:30:31 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/autoconf/autoconf-2.67.ebuild,v 1.4 2010/09/19 22:28:55 vapier Exp $ EAPI="2" +if [[ ${PV} == "9999" ]] ; then + EGIT_REPO_URI="git://git.savannah.gnu.org/autoconf.git" + inherit git + SRC_URI="" + #KEYWORDS="" +else + SRC_URI="mirror://gnu/${PN}/${P}.tar.bz2 + ftp://alpha.gnu.org/pub/gnu/${PN}/${P}.tar.bz2" + KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd" +fi + DESCRIPTION="Used to create autoconfiguration files" HOMEPAGE="http://www.gnu.org/software/autoconf/autoconf.html" -SRC_URI="mirror://gnu/${PN}/${P}.tar.bz2 - ftp://alpha.gnu.org/pub/gnu/${PN}/${P}.tar.bz2" LICENSE="GPL-3" SLOT="2.5" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd" IUSE="emacs" DEPEND=">=sys-apps/texinfo-4.3 @@ -21,6 +29,12 @@ RDEPEND="${DEPEND} >=sys-devel/autoconf-wrapper-9-r1" PDEPEND="emacs? ( app-emacs/autoconf-mode )" +src_prepare() { + if [[ ${PV} == "9999" ]] ; then + autoreconf -f -i || die + fi +} + src_configure() { # Disable Emacs in the build system since it is in a separate package. export EMACS=no diff --git a/sys-devel/autoconf/autoconf-9999.ebuild b/sys-devel/autoconf/autoconf-9999.ebuild index e58b860ac97e..7094a701e6a6 100644 --- a/sys-devel/autoconf/autoconf-9999.ebuild +++ b/sys-devel/autoconf/autoconf-9999.ebuild @@ -1,45 +1,47 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/autoconf/autoconf-9999.ebuild,v 1.1 2007/11/02 06:30:50 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/autoconf/autoconf-9999.ebuild,v 1.2 2010/09/19 22:28:55 vapier Exp $ -EGIT_REPO_URI="git://git.savannah.gnu.org/autoconf.git" +EAPI="2" -inherit git +if [[ ${PV} == "9999" ]] ; then + EGIT_REPO_URI="git://git.savannah.gnu.org/autoconf.git" + inherit git + SRC_URI="" + #KEYWORDS="" +else + SRC_URI="mirror://gnu/${PN}/${P}.tar.bz2 + ftp://alpha.gnu.org/pub/gnu/${PN}/${P}.tar.bz2" + KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd" +fi DESCRIPTION="Used to create autoconfiguration files" HOMEPAGE="http://www.gnu.org/software/autoconf/autoconf.html" -SRC_URI="" LICENSE="GPL-3" SLOT="2.5" -KEYWORDS="" IUSE="emacs" DEPEND=">=sys-apps/texinfo-4.3 >=sys-devel/m4-1.4.6 dev-lang/perl" RDEPEND="${DEPEND} - >=sys-devel/autoconf-wrapper-4-r2" + >=sys-devel/autoconf-wrapper-9-r1" PDEPEND="emacs? ( app-emacs/autoconf-mode )" -src_unpack() { - git_src_unpack - cd "${S}" - if [[ ! -e configure ]] ; then - autoreconf || die +src_prepare() { + if [[ ${PV} == "9999" ]] ; then + autoreconf -f -i || die fi } -src_compile() { +src_configure() { # Disable Emacs in the build system since it is in a separate package. export EMACS=no econf --program-suffix="-${PV}" || die # econf updates config.{sub,guess} which forces the manpages # to be regenerated which we dont want to do #146621 touch man/*.1 - # From configure output: - # Parallel builds via `make -jN' do not work. - emake -j1 || die } src_install() { |