diff options
author | Simon Stelling <blubb@gentoo.org> | 2006-08-29 11:27:28 +0000 |
---|---|---|
committer | Simon Stelling <blubb@gentoo.org> | 2006-08-29 11:27:28 +0000 |
commit | e2564b5436447d5f613a530282247d7faa38b185 (patch) | |
tree | 14f32257f8b3b4d345f01186bd48f31113de1647 /sys-libs/libtermcap-compat/libtermcap-compat-2.0.8-r1.ebuild | |
parent | stable on amd64 (diff) | |
download | gentoo-2-e2564b5436447d5f613a530282247d7faa38b185.tar.gz gentoo-2-e2564b5436447d5f613a530282247d7faa38b185.tar.bz2 gentoo-2-e2564b5436447d5f613a530282247d7faa38b185.zip |
fix for multilib-strict adherence; bug 145370
(Portage version: 2.1.1_rc1)
Diffstat (limited to 'sys-libs/libtermcap-compat/libtermcap-compat-2.0.8-r1.ebuild')
-rw-r--r-- | sys-libs/libtermcap-compat/libtermcap-compat-2.0.8-r1.ebuild | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/sys-libs/libtermcap-compat/libtermcap-compat-2.0.8-r1.ebuild b/sys-libs/libtermcap-compat/libtermcap-compat-2.0.8-r1.ebuild index 06f10f5e8669..7713e214c19f 100644 --- a/sys-libs/libtermcap-compat/libtermcap-compat-2.0.8-r1.ebuild +++ b/sys-libs/libtermcap-compat/libtermcap-compat-2.0.8-r1.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2005 Gentoo Foundation +# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/libtermcap-compat/libtermcap-compat-2.0.8-r1.ebuild,v 1.12 2005/08/20 04:22:07 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/libtermcap-compat/libtermcap-compat-2.0.8-r1.ebuild,v 1.13 2006/08/29 11:27:28 blubb Exp $ -inherit eutils +inherit eutils multilib toolchain-funcs PATCHVER=0.1 @@ -42,18 +42,20 @@ src_compile() { } src_install () { - dodir /lib /include /usr/lib + dodir /$(get_libdir) /include /usr/$(get_libdir) make prefix="${D}" OWNER="root:root" install || die # Conflicts with ncurses. rm -rf ${D}/include - cd ${D}/lib; mv libtermcap.a ../usr/lib + cd ${D}/$(get_libdir); mv libtermcap.a ../usr/$(get_libdir) # Make sure we link to /lib/libtermcap.so, not /usr/lib/libtermcap.a, # bug #4411. gen_usr_ldscript libtermcap.so - dosym libtermcap.so.2 /lib/libtermcap.so - dosym libtermcap.so.${PV} /lib/libtermcap.so.2 + dosym libtermcap.so.2 /$(get_libdir)/libtermcap.so + dosym libtermcap.so.${PV} /$(get_libdir)/libtermcap.so.2 + + cd ${D} ; rm ./lib insinto /etc doins ${WORKDIR}/termcap |