diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-08-03 03:14:01 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-08-03 03:14:01 +0000 |
commit | 263ac4bf001c81996faa0eca2bb0aeec5e8d3ebb (patch) | |
tree | 74125014d5f3d09747c37f904163d0dd7950e093 /sys-libs/com_err/com_err-1.38.ebuild | |
parent | Add patch from upstream cvs to fix #83287 by Martin Mokrejs / David James. (diff) | |
download | gentoo-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/com_err-1.38.ebuild')
-rw-r--r-- | sys-libs/com_err/com_err-1.38.ebuild | 9 |
1 files changed, 7 insertions, 2 deletions
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 |