diff options
author | Fabian Groffen <grobian@gentoo.org> | 2007-08-04 15:28:13 +0000 |
---|---|---|
committer | Fabian Groffen <grobian@gentoo.org> | 2007-08-04 15:28:13 +0000 |
commit | 87c4d9c08c0c469fce8184b8176c2fa904ee8882 (patch) | |
tree | 93e98223a5df8cdd0ec2d09b142fcd12be2d840e /sys-devel/gettext/gettext-0.16.1-r1.ebuild | |
parent | rc-update works again, #187487 (diff) | |
download | gentoo-2-87c4d9c08c0c469fce8184b8176c2fa904ee8882.tar.gz gentoo-2-87c4d9c08c0c469fce8184b8176c2fa904ee8882.tar.bz2 gentoo-2-87c4d9c08c0c469fce8184b8176c2fa904ee8882.zip |
it makes little to no sense to use get_libname if you expect it to have an ELF pattern
(Portage version: 2.1.2.9)
Diffstat (limited to 'sys-devel/gettext/gettext-0.16.1-r1.ebuild')
-rw-r--r-- | sys-devel/gettext/gettext-0.16.1-r1.ebuild | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/sys-devel/gettext/gettext-0.16.1-r1.ebuild b/sys-devel/gettext/gettext-0.16.1-r1.ebuild index 3a01d6d17339..4a856f2f0c64 100644 --- a/sys-devel/gettext/gettext-0.16.1-r1.ebuild +++ b/sys-devel/gettext/gettext-0.16.1-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/gettext/gettext-0.16.1-r1.ebuild,v 1.2 2007/07/07 01:44:18 ulm Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/gettext/gettext-0.16.1-r1.ebuild,v 1.3 2007/08/04 15:28:13 grobian Exp $ inherit flag-o-matic eutils multilib toolchain-funcs mono libtool @@ -74,12 +74,11 @@ src_install() { fi rm -f "${D}"/usr/share/locale/locale.alias "${D}"/usr/lib/charset.alias - if [[ ${USERLAND} == "BSD" ]] ; then - libname="libintl$(get_libname 8)" + if use !elibc_glibc ; then # Move dynamic libs and creates ldscripts into /usr/lib dodir /$(get_libdir) - mv "${D}"/usr/$(get_libdir)/${libname}* "${D}"/$(get_libdir)/ - gen_usr_ldscript ${libname} + mv "${D}"/usr/$(get_libdir)/libintl*$(get_libname 8)* "${D}"/$(get_libdir)/ + gen_usr_ldscript libintl$(get_libname 8) fi if use doc ; then |