Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 3173 - Ltrace 0.3.23 does not build on PPC
Summary: Ltrace 0.3.23 does not build on PPC
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Pieter Van den Abeele (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-05-29 10:43 UTC by Jason L. Shiffer
Modified: 2006-02-04 06:03 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
updated ebuild for ltrace 0.3.26 (ltrace-0.3.26.ebuild,729 bytes, text/plain)
2002-05-29 10:49 UTC, Jason L. Shiffer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jason L. Shiffer 2002-05-29 10:43:40 UTC
The following ebuild is updated to use 0.3.26 which does support PPC.


---SNIP---
S=${WORKDIR}/${P}
FILE_VERSION="ltrace_0.3.26"
DESCRIPTION="ltrace shows runtime library call information for dynamically
linked executables"
SRC_URI="http://ftp.debian.org/debian/pool/main/l/ltrace/${FILE_VERSION}.tar.gz"
HOMEPAGE="http://packages.debian.org/unstable/utils/ltrace.html"

DEPEND="virtual/glibc"

src_compile() {

  ./configure --prefix=/usr || die

  # modify CFLAGS (hopefully in a more time friendly way)
  mv Makefile Makefile.orig
  sed "s/ -O2 / ${CFLAGS} /" Makefile.orig > Makefile || die "sed failed...
newer version of Makefile?"
  
  emake all || die

}

src_install() {

  make DESTDIR=${D} install || die

  # documentation
  rm -rvf ${D}usr/doc/
  dodoc BUGS COPYING debian/changelog README TODO

}
Comment 1 Jason L. Shiffer 2002-05-29 10:49:19 UTC
Created attachment 1213 [details]
updated ebuild for ltrace 0.3.26
Comment 2 Olivier Reisch (RETIRED) gentoo-dev 2002-06-06 04:08:40 UTC
New ebuild added to cvs on Thu Jun  6 11:08:47 CEST 2002