summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Heim <phreak@gentoo.org>2006-10-11 19:00:39 +0000
committerChristian Heim <phreak@gentoo.org>2006-10-11 19:00:39 +0000
commit7113a4a63b787ce1c2e1255c3f9d7c6f2afb1242 (patch)
treedf8cc5b2a05825624046e1bae89b19476730b20d
parentUpdating the SO-name patch. (diff)
downloadmisc-7113a4a63b787ce1c2e1255c3f9d7c6f2afb1242.tar.gz
misc-7113a4a63b787ce1c2e1255c3f9d7c6f2afb1242.tar.bz2
misc-7113a4a63b787ce1c2e1255c3f9d7c6f2afb1242.zip
Another update for the install-gentoo, thanks Kir for the inspiration.
svn path=/; revision=504
-rw-r--r--vzctl/patches/3.0.12/010_all_Makefile-gentoo-install.patch9
1 files changed, 6 insertions, 3 deletions
diff --git a/vzctl/patches/3.0.12/010_all_Makefile-gentoo-install.patch b/vzctl/patches/3.0.12/010_all_Makefile-gentoo-install.patch
index 6862f17..a9af0c6 100644
--- a/vzctl/patches/3.0.12/010_all_Makefile-gentoo-install.patch
+++ b/vzctl/patches/3.0.12/010_all_Makefile-gentoo-install.patch
@@ -2,12 +2,15 @@ Index: vzctl-3.0.12/src/Makefile
===================================================================
--- vzctl-3.0.12.orig/src/Makefile
+++ vzctl-3.0.12/src/Makefile
-@@ -224,7 +224,7 @@ install-redhat: inst-netscripts inst-ini
+@@ -223,8 +223,9 @@ install: $(PROGS) inst-dirs install-lib
+ install-redhat: inst-netscripts inst-initd
install-gentoo:
- $(INSTALL) -m 755 ../etc/init.d/vz-gentoo $(DESTDIR)/$(INITDDIR)/vz
+- $(INSTALL) -m 755 ../etc/init.d/vz-gentoo $(DESTDIR)/$(INITDDIR)/vz
- ln -s $(DESTDIR)/$(CONFDIR)/vz.conf $(DESTDIR)/conf.d/vz
-+ ln -s $(DESTDIR)/$(CONFDIR)/vz.conf $(DESTDIR)/etc/conf.d/vz
++ $(INSTALL) -m 755 ../etc/init.d/vz-gentoo $(DESTDIR)$(INITDDIR)/vz
++ $(INSTALL) -d $(DESTDIR)/etc/conf.d
++ ln -s $(CONFDIR)/vz.conf $(DESTDIR)/etc/conf.d/vz
clean:
rm -f *.o lib/*.lo $(PROGS) $(LIB_vzctl) $(LIB_fs) $(LIB_fs) .depend