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

Contents of /sys-devel/autoconf/autoconf-2.62-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Sun Jun 29 23:12:05 2008 UTC (6 years, 3 months ago) by vapier
Branch: MAIN
Add workarounds for nasty bugs #217976 (multiline problems) and #228825 (big endian misdetection on ppc).
(Portage version: 2.2_rc1/cvs/Linux 2.6.25 x86_64)

1 # Copyright 1999-2008 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.62.ebuild,v 1.2 2008/04/10 08:06:45 vapier Exp $
4
5 inherit eutils
6
7 DESCRIPTION="Used to create autoconfiguration files"
8 HOMEPAGE="http://www.gnu.org/software/autoconf/autoconf.html"
9 SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
10
11 LICENSE="GPL-2"
12 SLOT="2.5"
13 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
14 IUSE="emacs"
15
16 DEPEND=">=sys-apps/texinfo-4.3
17 >=sys-devel/m4-1.4.6
18 dev-lang/perl"
19 RDEPEND="${DEPEND}
20 >=sys-devel/autoconf-wrapper-5"
21 PDEPEND="emacs? ( app-emacs/autoconf-mode )"
22
23 src_unpack() {
24 unpack ${A}
25 cd "${S}"
26 epatch "${FILESDIR}"/${P}-revert-AC_C_BIGENDIAN.patch #228825
27 epatch "${FILESDIR}"/${P}-at-keywords.patch
28 epatch "${FILESDIR}"/${P}-fix-multiline-string.patch #217976
29 }
30
31 src_compile() {
32 # Disable Emacs in the build system since it is in a separate package.
33 export EMACS=no
34 econf --program-suffix="-${PV}" || die
35 # econf updates config.{sub,guess} which forces the manpages
36 # to be regenerated which we dont want to do #146621
37 touch man/*.1
38 # From configure output:
39 # Parallel builds via `make -jN' do not work.
40 emake -j1 || die
41 }
42
43 src_install() {
44 emake DESTDIR="${D}" install || die
45 dodoc AUTHORS BUGS NEWS README TODO THANKS \
46 ChangeLog ChangeLog.0 ChangeLog.1 ChangeLog.2
47 }

  ViewVC Help
Powered by ViewVC 1.1.20