diff options
author | Lina Pezzella <j4rg0n@gentoo.org> | 2005-06-17 03:31:14 +0000 |
---|---|---|
committer | Lina Pezzella <j4rg0n@gentoo.org> | 2005-06-17 03:31:14 +0000 |
commit | 9440ac8088c941796db4a31a77e004eda8eb7775 (patch) | |
tree | c7ed204e6f9bae6eaa190d04f5d8f1ef4d24abc4 /sys-apps/sed/sed-4.1.4.ebuild | |
parent | added metadata.xml (desktop-misc herd) and updated ebuild with proper einfos ... (diff) | |
download | gentoo-2-9440ac8088c941796db4a31a77e004eda8eb7775.tar.gz gentoo-2-9440ac8088c941796db4a31a77e004eda8eb7775.tar.bz2 gentoo-2-9440ac8088c941796db4a31a77e004eda8eb7775.zip |
Fix for Bug 96321
(Portage version: 2.0.51.19)
Diffstat (limited to 'sys-apps/sed/sed-4.1.4.ebuild')
-rw-r--r-- | sys-apps/sed/sed-4.1.4.ebuild | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/sys-apps/sed/sed-4.1.4.ebuild b/sys-apps/sed/sed-4.1.4.ebuild index a69fab8c0f2b..563140fb7a74 100644 --- a/sys-apps/sed/sed-4.1.4.ebuild +++ b/sys-apps/sed/sed-4.1.4.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-apps/sed/sed-4.1.4.ebuild,v 1.8 2005/06/13 23:16:41 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/sed/sed-4.1.4.ebuild,v 1.9 2005/06/17 03:31:14 j4rg0n Exp $ inherit flag-o-matic @@ -61,7 +61,12 @@ src_compile() { src_install() { into / - dobin sed/sed || die "dobin" + if use ppc-macos || use x86-fbsd; then + newbin sed/sed gsed || die "dobin" + else + dobin sed/sed || die "dobin" + fi + if ! use build ; then make install DESTDIR="${D}" || die "Install failed" dodoc NEWS README* THANKS AUTHORS BUGS ChangeLog @@ -71,12 +76,13 @@ src_install() { dodir /usr/bin fi - rm -f "${D}"/usr/bin/sed if use ppc-macos || use x86-fbsd ; then cd "${D}" + rm -f "${D}"/usr/bin/gsed dosym /bin/gsed /usr/bin/gsed rm "${D}"/usr/lib/charset.alias "${D}"/usr/share/locale/locale.alias else + rm -f "${D}"/usr/bin/sed dosym /bin/sed /usr/bin/sed fi } |