diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-10-13 00:52:08 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-10-13 00:52:08 +0000 |
commit | bc9a8603659206eae2478694e1c2cde32bfbbd5c (patch) | |
tree | 9b0e5a9b2bbad39fe0b4dd03ba5c6402a2c8f0d8 /sys-libs | |
parent | dont need etox anymore as pointed out by CpuID (diff) | |
download | gentoo-2-bc9a8603659206eae2478694e1c2cde32bfbbd5c.tar.gz gentoo-2-bc9a8603659206eae2478694e1c2cde32bfbbd5c.tar.bz2 gentoo-2-bc9a8603659206eae2478694e1c2cde32bfbbd5c.zip |
add darwin support to shut kito the hell up
(Portage version: 2.0.53_rc5)
Diffstat (limited to 'sys-libs')
-rw-r--r-- | sys-libs/com_err/com_err-1.38.ebuild | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/sys-libs/com_err/com_err-1.38.ebuild b/sys-libs/com_err/com_err-1.38.ebuild index 7c508af5e6a6..bba25f10dc4f 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.13 2005/09/25 22:16:04 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/com_err/com_err-1.38.ebuild,v 1.14 2005/10/13 00:52:08 vapier Exp $ inherit eutils flag-o-matic toolchain-funcs @@ -51,12 +51,14 @@ src_install() { dosed '/^ET_DIR=/s:=.*:=/usr/share/et:' /usr/bin/compile_et dosym et/com_err.h /usr/include/com_err.h - # Move shared libraries to /lib/, install static libraries to /usr/lib/, - # and install linker scripts to /usr/lib/. - dodir /$(get_libdir) - mv "${D}"/usr/$(get_libdir)/*.so* "${D}"/$(get_libdir)/ || die "move .so" dolib.a lib/libcom_err.a || die "dolib.a" - gen_usr_ldscript libcom_err.so + if [[ ${USERLAND} == "Darwin" ]] ; then + dosym /usr/$(get_libdir)/libcom_err.*.dylib /usr/$(get_libdir)/libcom_err.dylib || die + else + dodir /$(get_libdir) + mv "${D}"/usr/$(get_libdir)/*.$(get_libname)* "${D}"/$(get_libdir)/ || die "move .so" + gen_usr_ldscript libcom_err.so + fi } pkg_postinst() { |