summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThilo Bangert <bangert@gentoo.org>2008-10-05 17:43:23 +0000
committerThilo Bangert <bangert@gentoo.org>2008-10-05 17:43:23 +0000
commitd7b89c93ecf515101e4ef366b56b353a5a1a15ac (patch)
tree5eb33d1fdf231b8068f725d72f4071736212ad35 /app-emulation/domi
parentVersion bump (diff)
downloadgentoo-2-d7b89c93ecf515101e4ef366b56b353a5a1a15ac.tar.gz
gentoo-2-d7b89c93ecf515101e4ef366b56b353a5a1a15ac.tar.bz2
gentoo-2-d7b89c93ecf515101e4ef366b56b353a5a1a15ac.zip
fix install of symlinks - bug# 219947 - thanks Enrico Weigelt
(Portage version: 2.1.4.4)
Diffstat (limited to 'app-emulation/domi')
-rw-r--r--app-emulation/domi/ChangeLog6
-rw-r--r--app-emulation/domi/domi-20060816.ebuild4
-rw-r--r--app-emulation/domi/files/fix_install_links.patch15
3 files changed, 23 insertions, 2 deletions
diff --git a/app-emulation/domi/ChangeLog b/app-emulation/domi/ChangeLog
index 60af24b780a5..cc0e3b5b3d5c 100644
--- a/app-emulation/domi/ChangeLog
+++ b/app-emulation/domi/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-emulation/domi
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/domi/ChangeLog,v 1.10 2008/10/01 18:47:54 bangert Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/domi/ChangeLog,v 1.11 2008/10/05 17:43:22 bangert Exp $
+
+ 05 Oct 2008; Thilo Bangert <bangert@gentoo.org>
+ +files/fix_install_links.patch, domi-20060816.ebuild:
+ fix install of symlinks - bug# 219947
*domi-20060816 (01 Oct 2008)
diff --git a/app-emulation/domi/domi-20060816.ebuild b/app-emulation/domi/domi-20060816.ebuild
index 4a92de576821..e49da73a36c0 100644
--- a/app-emulation/domi/domi-20060816.ebuild
+++ b/app-emulation/domi/domi-20060816.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/domi/domi-20060816.ebuild,v 1.1 2008/10/01 18:47:54 bangert Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/domi/domi-20060816.ebuild,v 1.2 2008/10/05 17:43:22 bangert Exp $
inherit eutils
DESCRIPTION="Scripts for building Xen domains"
@@ -27,6 +27,8 @@ S=${WORKDIR}/${PN}
src_unpack() {
unpack ${A}
sed -i -e 's:/dev/loop\$:/dev/loop/\$:' "${S}"/domi
+ cd "${S}"
+ epatch "${FILESDIR}"/fix_install_links.patch
}
src_install() {
diff --git a/app-emulation/domi/files/fix_install_links.patch b/app-emulation/domi/files/fix_install_links.patch
new file mode 100644
index 000000000000..29a7eb7ca299
--- /dev/null
+++ b/app-emulation/domi/files/fix_install_links.patch
@@ -0,0 +1,15 @@
+--- Makefile.orig 2008-10-05 18:59:51.000000000 +0200
++++ Makefile 2008-10-05 19:37:58.000000000 +0200
+@@ -23,9 +23,9 @@
+ install -d $(DESTDIR)$(mandir)/man8
+ install -m755 $(scripts) $(DESTDIR)$(libdir)
+ install -m644 domi.man $(DESTDIR)$(mandir)/man8/domi.8
+- ln -s $(libdir)/domi $(DESTDIR)$(bindir)/domi
+- ln -s $(libdir)/ttylinux $(DESTDIR)$(bindir)/ttylinux
+- ln -s $(libdir)/initramfs $(DESTDIR)$(bindir)/busybox.initramfs
++ ln -s ../share/domi/domi $(bindir)/domi
++ ln -s ../share/domi/ttylinux $(bindir)/ttylinux
++ ln -s ../share/domi/initramfs $(bindir)/busybox.initramfs
+
+ test:
+ su -c tests/Run