summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-08-03 03:14:01 +0000
committerMike Frysinger <vapier@gentoo.org>2005-08-03 03:14:01 +0000
commit263ac4bf001c81996faa0eca2bb0aeec5e8d3ebb (patch)
tree74125014d5f3d09747c37f904163d0dd7950e093 /sys-libs/com_err
parentAdd patch from upstream cvs to fix #83287 by Martin Mokrejs / David James. (diff)
downloadgentoo-2-263ac4bf001c81996faa0eca2bb0aeec5e8d3ebb.tar.gz
gentoo-2-263ac4bf001c81996faa0eca2bb0aeec5e8d3ebb.tar.bz2
gentoo-2-263ac4bf001c81996faa0eca2bb0aeec5e8d3ebb.zip
Use bsd-shlibs on Darwin but elf-shlibs on all other systems #99728 by Kito.
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'sys-libs/com_err')
-rw-r--r--sys-libs/com_err/ChangeLog5
-rw-r--r--sys-libs/com_err/com_err-1.38.ebuild9
2 files changed, 11 insertions, 3 deletions
diff --git a/sys-libs/com_err/ChangeLog b/sys-libs/com_err/ChangeLog
index e5eb12cd3d63..a3d8a34d65fa 100644
--- a/sys-libs/com_err/ChangeLog
+++ b/sys-libs/com_err/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-libs/com_err
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/com_err/ChangeLog,v 1.17 2005/07/25 19:47:46 killerfox Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/com_err/ChangeLog,v 1.18 2005/08/03 03:13:32 vapier Exp $
+
+ 03 Aug 2005; Mike Frysinger <vapier@gentoo.org> com_err-1.38.ebuild:
+ Use bsd-shlibs on Darwin but elf-shlibs on all other systems #99728 by Kito.
25 Jul 2005; Rene Nussbaumer <killerfox@gentoo.org> com_err-1.38.ebuild:
Stable on hppa.
diff --git a/sys-libs/com_err/com_err-1.38.ebuild b/sys-libs/com_err/com_err-1.38.ebuild
index 26481ea29ca0..7d3003c84227 100644
--- a/sys-libs/com_err/com_err-1.38.ebuild
+++ b/sys-libs/com_err/com_err-1.38.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/sys-libs/com_err/com_err-1.38.ebuild,v 1.8 2005/07/25 19:47:46 killerfox Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/com_err/com_err-1.38.ebuild,v 1.9 2005/08/03 03:13:32 vapier Exp $
inherit eutils flag-o-matic toolchain-funcs
@@ -31,8 +31,13 @@ src_unpack() {
}
src_compile() {
+ local libtype
+ case ${USERLAND} in
+ Darwin) libtype=bsd;;
+ *) libtype=elf;;
+ esac
econf \
- --enable-elf-shlibs \
+ --enable-${libtype}-shlibs \
--with-ldopts="${LDFLAGS}" \
$(use_enable nls) \
|| die