diff options
author | Jeremy Huddleston <eradicator@gentoo.org> | 2005-02-03 10:08:17 +0000 |
---|---|---|
committer | Jeremy Huddleston <eradicator@gentoo.org> | 2005-02-03 10:08:17 +0000 |
commit | 9ebeeb5966e3009dd5545f2162faeeb60a860c04 (patch) | |
tree | cab5e3531d58a45d8c0a3afc4fc3183baaa99509 /sys-libs | |
parent | inherit linux-info. (diff) | |
download | gentoo-2-9ebeeb5966e3009dd5545f2162faeeb60a860c04.tar.gz gentoo-2-9ebeeb5966e3009dd5545f2162faeeb60a860c04.tar.bz2 gentoo-2-9ebeeb5966e3009dd5545f2162faeeb60a860c04.zip |
Multilib friendly fix. Closes bug #80391.
(Portage version: 2.0.51-r15)
Diffstat (limited to 'sys-libs')
-rw-r--r-- | sys-libs/libsafe/ChangeLog | 8 | ||||
-rw-r--r-- | sys-libs/libsafe/libsafe-2.0_p16-r1.ebuild | 15 |
2 files changed, 13 insertions, 10 deletions
diff --git a/sys-libs/libsafe/ChangeLog b/sys-libs/libsafe/ChangeLog index 5536b4dad172..e745fc7bd8be 100644 --- a/sys-libs/libsafe/ChangeLog +++ b/sys-libs/libsafe/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sys-libs/libsafe -# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/libsafe/ChangeLog,v 1.4 2004/11/06 04:57:28 matsuu Exp $ +# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/libsafe/ChangeLog,v 1.5 2005/02/03 10:08:17 eradicator Exp $ + + 03 Feb 2005; Jeremy Huddleston <eradicator@gentoo.org> + libsafe-2.0_p16-r1.ebuild: + Multilib friendly fix. Closes bug #80391. *libsafe-2.0_p16-r1 (06 Nov 2004) diff --git a/sys-libs/libsafe/libsafe-2.0_p16-r1.ebuild b/sys-libs/libsafe/libsafe-2.0_p16-r1.ebuild index b5f3fb587f4c..9b7e9ff42ba5 100644 --- a/sys-libs/libsafe/libsafe-2.0_p16-r1.ebuild +++ b/sys-libs/libsafe/libsafe-2.0_p16-r1.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2004 Gentoo Foundation +# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/libsafe/libsafe-2.0_p16-r1.ebuild,v 1.1 2004/11/06 04:57:28 matsuu Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/libsafe/libsafe-2.0_p16-r1.ebuild,v 1.2 2005/02/03 10:08:17 eradicator Exp $ -inherit toolchain-funcs +inherit toolchain-funcs multilib MY_P="${P/_p/-}" DESCRIPTION="Protection against buffer overflow vulnerabilities" @@ -31,17 +31,16 @@ src_compile() { # It safer not too assume it is. Uncomment the following if desired # use mta && mycflags="${mycflags} -DNOTIFY_WITH_EMAIL" - emake CC="$(tc-getCC)" CFLAGS="${mycflags}" || die + emake CC="$(tc-getCC)" CFLAGS="${mycflags}" libsafe || die } src_install() { - # libsafe stuff into / dolib.so src/libsafe.so.${PV/_p/.} || die # dodir /lib - dosym libsafe.so.${PV/_p/.} /lib/libsafe.so || die - dosym libsafe.so.${PV/_p/.} /lib/libsafe.so.${PV%%.*} || die + dosym libsafe.so.${PV/_p/.} /$(get_libdir)/libsafe.so || die + dosym libsafe.so.${PV/_p/.} /$(get_libdir)/libsafe.so.${PV%%.*} || die # Documentation doman doc/libsafe.8 @@ -57,6 +56,6 @@ pkg_postinst() { einfo "To use this you have to put the library as one of the variables" einfo "in LD_PRELOAD." einfo "Example in bash:" - einfo "export LD_PRELOAD=/lib/libsafe.so.${PV%%.*}" + einfo "export LD_PRELOAD=libsafe.so.${PV%%.*}" einfo } |