summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-devel/gettext/gettext-0.16.1-r1.ebuild')
-rw-r--r--sys-devel/gettext/gettext-0.16.1-r1.ebuild9
1 files changed, 5 insertions, 4 deletions
diff --git a/sys-devel/gettext/gettext-0.16.1-r1.ebuild b/sys-devel/gettext/gettext-0.16.1-r1.ebuild
index 41048000cc70..b659d4ce4684 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.4 2007/08/04 16:03:00 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/gettext/gettext-0.16.1-r1.ebuild,v 1.5 2007/08/04 16:41:44 grobian Exp $
inherit flag-o-matic eutils multilib toolchain-funcs mono libtool
@@ -74,11 +74,12 @@ src_install() {
fi
rm -f "${D}"/usr/share/locale/locale.alias "${D}"/usr/lib/charset.alias
- if use !elibc_glibc ; then
+ if [[ ${USERLAND} == "BSD" ]] ; then
+ libname="libintl$(get_libname 8)"
# Move dynamic libs and creates ldscripts into /usr/lib
dodir /$(get_libdir)
- mv "${D}"/usr/$(get_libdir)/libintl*$(get_libname)* "${D}"/$(get_libdir)/
- gen_usr_ldscript libintl$(get_libname 8)
+ mv "${D}"/usr/$(get_libdir)/${libname}* "${D}"/$(get_libdir)/
+ gen_usr_ldscript ${libname}
fi
if use doc ; then