/[gentoo-x86]/sys-devel/autoconf/autoconf-2.13.ebuild
Gentoo

Contents of /sys-devel/autoconf/autoconf-2.13.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.25 - (show annotations) (download)
Thu Mar 19 23:49:17 2015 UTC (3 years, 8 months ago) by vapier
Branch: MAIN
CVS Tags: HEAD
Changes since 1.24: +18 -29 lines
Copy info page SLOT logic from automake #543730 by Tupone Alfredo. Unify duplicated logic into eblits. Migrate to EAPI=5 for non-default SLOTs.

(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key D2E96200)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sys-devel/autoconf/autoconf-2.13.ebuild,v 1.24 2014/01/17 04:23:13 vapier Exp $
4
5 EAPI="5"
6
7 inherit eutils
8
9 DESCRIPTION="Used to create autoconfiguration files"
10 HOMEPAGE="http://www.gnu.org/software/autoconf/autoconf.html"
11 SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
12
13 LICENSE="GPL-2"
14 SLOT="${PV:0:3}"
15 KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
16 IUSE="userland_BSD"
17
18 DEPEND=">=sys-apps/texinfo-4.3
19 =sys-devel/m4-1.4*
20 dev-lang/perl"
21 RDEPEND="${DEPEND}
22 >=sys-devel/autoconf-wrapper-13"
23
24 PATCHES=(
25 "${FILESDIR}"/${P}-gentoo.patch
26 "${FILESDIR}"/${P}-destdir.patch
27 "${FILESDIR}"/${P}-test-fixes.patch #146592
28 )
29
30 if [[ -z ${__EBLITS__} && -n ${FILESDIR} ]] ; then
31 source "${FILESDIR}"/eblits/main.eblit || die
32 fi
33 src_prepare() { eblit-run src_prepare ; }
34 src_install() { eblit-run src_install ; }
35
36 src_configure() {
37 touch configure # make sure configure is newer than configure.in
38
39 # need to include --exec-prefix and --bindir or our
40 # DESTDIR patch will trigger sandbox hate :(
41 #
42 # need to force locale to C to avoid bugs in the old
43 # configure script breaking the install paths #351982
44 #
45 # force to `awk` so that we don't encode another awk that
46 # happens to currently be installed, but might later be
47 # uninstalled (like mawk). same for m4.
48 local prepend=""
49 use userland_BSD && prepend="g"
50 ac_cv_path_M4="${prepend}m4" \
51 ac_cv_prog_AWK="${prepend}awk" \
52 LC_ALL=C \
53 econf \
54 --exec-prefix=/usr \
55 --bindir=/usr/bin \
56 --program-suffix="-${PV}"
57 }

  ViewVC Help
Powered by ViewVC 1.1.20