/[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.4 Revision 1.5
1# Copyright 1999-2006 Gentoo Foundation 1# Copyright 1999-2007 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.4 2006/01/27 00:01:10 solar Exp $ 3# $Header: /var/cvsroot/gentoo-x86/dev-util/elfsh/elfsh-0.51_beta3.ebuild,v 1.5 2007/01/06 23:00:43 malc 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}
24 epatch "${FILESDIR}"/${PV}-gentoo.patch 24 epatch "${FILESDIR}"/${PV}-gentoo.patch
25 sed -i \ 25 sed -i \
26 -e "s:-g3 -O2:${CFLAGS}:" \ 26 -e "s:-g3 -O2:${CFLAGS}:" \
27 `find -name Makefile` \ 27 `find -name Makefile` \
28 || die 28 || die
29 sed -i -e "s:LIBPATH = \$(PREFIX)/lib:LIBPATH = \$(PREFIX)/$(get_libdir):" Makefile
30
29} 31}
30 32
31src_compile() { 33src_compile() {
32 # emacs does not have to be a requirement. 34 # emacs does not have to be a requirement.
33 emake ETAGS=echo || die "emake failed" 35 emake ETAGS=echo || die "emake failed"

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

  ViewVC Help
Powered by ViewVC 1.1.20