/[gentoo-x86]/dev-lang/wml/wml-2.0.11-r3.ebuild
Gentoo

Diff of /dev-lang/wml/wml-2.0.11-r3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.5 Revision 1.6
1# Copyright 1999-2008 Gentoo Foundation 1# Copyright 1999-2008 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/dev-lang/wml/Attic/wml-2.0.11-r3.ebuild,v 1.5 2008/03/10 14:21:12 beandog Exp $ 3# $Header: /var/cvsroot/gentoo-x86/dev-lang/wml/Attic/wml-2.0.11-r3.ebuild,v 1.6 2008/04/20 11:25:50 vapier Exp $
4 4
5inherit fixheadtails eutils autotools multilib 5inherit fixheadtails eutils autotools multilib
6 6
7DESCRIPTION="Website META Language" 7DESCRIPTION="Website META Language"
8HOMEPAGE="http://thewml.org/" 8HOMEPAGE="http://thewml.org/"
11LICENSE="GPL-2" 11LICENSE="GPL-2"
12SLOT="0" 12SLOT="0"
13KEYWORDS="amd64 ia64 ppc ~s390 sparc x86" 13KEYWORDS="amd64 ia64 ppc ~s390 sparc x86"
14IUSE="" 14IUSE=""
15 15
16DEPEND="dev-libs/libpcre 16RDEPEND="dev-libs/libpcre
17 sys-devel/libtool
17 dev-lang/perl" 18 dev-lang/perl"
18 19
19src_unpack() { 20src_unpack() {
20 unpack ${A} 21 unpack ${A}
21 ht_fix_all 22 ht_fix_all
22 cd "${S}" 23 cd "${S}"
23 24
24 epatch "${FILESDIR}/wml-2.0.9-gcc41.patch" 25 epatch "${FILESDIR}/wml-2.0.9-gcc41.patch"
25 epatch "${FILESDIR}/wml-2.0.9-autotools-update.patch" 26 epatch "${FILESDIR}/wml-2.0.9-autotools-update.patch"
26 epatch "${FILESDIR}/wml-2.0.11-tmpfile.patch" 27 epatch "${FILESDIR}/wml-2.0.11-tmpfile.patch"
28 epatch "${FILESDIR}"/${P}-autotools.patch
27 29
28 einfo "Patching Makefile.in files to fix various problems" 30 einfo "Patching Makefile.in files to fix various problems"
29 # Patch Makefile to avoid stripping binaries 31 # Patch Makefile to avoid stripping binaries
30 for m in $(find "${S}" -name Makefile.in -print); do 32 for m in $(find "${S}" -name Makefile.in -print); do
31 sed -i -e "s/-m 755 -s/-m 755/" "${m}" || die "Could not run sed on ${m}" 33 sed -i -e "s/-m 755 -s/-m 755/" "${m}" || die "Could not run sed on ${m}"
43 45
44 elibtoolize 46 elibtoolize
45} 47}
46 48
47src_compile() { 49src_compile() {
48 econf --libdir=/usr/$(get_libdir) || die "./configure failed" 50 econf --without-included-ltdl || die "./configure failed"
49 emake || die "emake failed" 51 emake || die "emake failed"
50} 52}
51 53
52# The default src_test first checks if 'make test' is possible using the '-n' 54# The default src_test first checks if 'make test' is possible using the '-n'
53# option of make, but this messes up the tests completely. 55# option of make, but this messes up the tests completely.

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

  ViewVC Help
Powered by ViewVC 1.1.20