/[gentoo-x86]/dev-util/elfsh/elfsh-0.51_beta3.ebuild
Gentoo

Diff of /dev-util/elfsh/elfsh-0.51_beta3.ebuild

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

Revision 1.6 Revision 1.7
1# Copyright 1999-2009 Gentoo Foundation 1# Copyright 1999-2009 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-util/elfsh/elfsh-0.51_beta3.ebuild,v 1.6 2009/05/02 20:29:16 halcy0n Exp $ 3# $Header: /var/cvsroot/gentoo-x86/dev-util/elfsh/elfsh-0.51_beta3.ebuild,v 1.7 2009/07/22 23:26:52 vostorga Exp $
4 4
5inherit eutils 5inherit eutils
6 6
7MY_PV=${PV/_beta/b} 7MY_PV=${PV/_beta/b}
8S=${WORKDIR}/${PN}-${MY_PV} 8S=${WORKDIR}/${PN}-${MY_PV}
15SLOT="0" 15SLOT="0"
16KEYWORDS="~amd64 ~ppc ~x86" 16KEYWORDS="~amd64 ~ppc ~x86"
17IUSE="" 17IUSE=""
18 18
19DEPEND=">=dev-libs/expat-1.95" 19DEPEND=">=dev-libs/expat-1.95"
20RDEPEND="${DEPEND}"
20 21
21src_unpack() { 22src_unpack() {
22 unpack ${A} 23 unpack ${A}
23 cd "${S}" 24 cd "${S}"
24 epatch "${FILESDIR}"/${PV}-gentoo.patch 25 epatch "${FILESDIR}"/${PV}-gentoo.patch
26 epatch "${FILESDIR}"/${P}-glibc210.patch
25 sed -i \ 27 sed -i \
26 -e "s:-g3 -O2:${CFLAGS}:" \ 28 -e "s:-g3 -O2:${CFLAGS}:" \
27 `find -name Makefile` \ 29 `find -name Makefile` \
28 || die 30 || die
29 sed -i -e "s:LIBPATH = \$(PREFIX)/lib:LIBPATH = \$(PREFIX)/$(get_libdir):" Makefile 31 sed -i -e "s:LIBPATH = \$(PREFIX)/lib:LIBPATH = \$(PREFIX)/$(get_libdir):" Makefile

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

  ViewVC Help
Powered by ViewVC 1.1.20