summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTavis Ormandy <taviso@gentoo.org>2005-04-06 17:53:54 +0000
committerTavis Ormandy <taviso@gentoo.org>2005-04-06 17:53:54 +0000
commit1342e66e0b6fd659af5a198753ea47bf94122274 (patch)
tree90edbed6370d03e03e15b8060b38e721297780f9 /dev-util/pretrace
parentx86 (diff)
downloadgentoo-2-1342e66e0b6fd659af5a198753ea47bf94122274.tar.gz
gentoo-2-1342e66e0b6fd659af5a198753ea47bf94122274.tar.bz2
gentoo-2-1342e66e0b6fd659af5a198753ea47bf94122274.zip
/lib fix
(Portage version: 2.0.51.19)
Diffstat (limited to 'dev-util/pretrace')
-rw-r--r--dev-util/pretrace/ChangeLog5
-rw-r--r--dev-util/pretrace/pretrace-0.2.ebuild13
2 files changed, 13 insertions, 5 deletions
diff --git a/dev-util/pretrace/ChangeLog b/dev-util/pretrace/ChangeLog
index 029ca6d6824a..a36063d11b22 100644
--- a/dev-util/pretrace/ChangeLog
+++ b/dev-util/pretrace/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-util/pretrace
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/pretrace/ChangeLog,v 1.2 2005/04/06 12:42:00 taviso Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/pretrace/ChangeLog,v 1.3 2005/04/06 17:53:54 taviso Exp $
+
+ 06 Apr 2005; Tavis Ormandy <taviso@gentoo.org> pretrace-0.2.ebuild:
+ install into /lib
*pretrace-0.2 (06 Apr 2005)
diff --git a/dev-util/pretrace/pretrace-0.2.ebuild b/dev-util/pretrace/pretrace-0.2.ebuild
index 436b3a0bd4bd..a2aba90ce009 100644
--- a/dev-util/pretrace/pretrace-0.2.ebuild
+++ b/dev-util/pretrace/pretrace-0.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/pretrace/pretrace-0.2.ebuild,v 1.2 2005/04/06 15:43:24 taviso Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/pretrace/pretrace-0.2.ebuild,v 1.3 2005/04/06 17:53:54 taviso Exp $
inherit toolchain-funcs flag-o-matic
@@ -44,7 +44,7 @@ libpretrace is a preload library that allows specified (dynamically linked)
applications to always be executed under a debugging environment. To start
using pretrace, add libpretrace.so to your /etc/ld.so.preload.
- root# echo /usr/$(get_libdir)/libpretrace.so >> /etc/ld.so.preload
+ root# echo /lib/libpretrace.so >> /etc/ld.so.preload
You can now specify applications to trace in /etc/pretrace.conf, the format
is one application per line, if you would like to specify a debugger append
@@ -72,12 +72,17 @@ EOF
}
src_install() {
- dolib.so libpretrace.so
+ insinto /lib
+ doins libpretrace.so
+
+ dodir /usr/lib
+ dosym /lib/libpretrace.so /usr/lib/
+
dodoc ${T}/pretrace.conf.example ${T}/README
newdoc ${S}/lib${P}.c libpretrace.c
}
pkg_postinst() {
- einfo "To use pretrace, please add /usr/$(get_libdir)/libpretrace.so to /etc/ld.so.preload."
+ einfo "To use pretrace, please add /lib/libpretrace.so to /etc/ld.so.preload."
einfo "See the documentation for configuration file format and more information."
}