summaryrefslogtreecommitdiff
path: root/sysutils/xentools41
diff options
context:
space:
mode:
authorsborrill <sborrill>2011-10-03 16:58:57 +0000
committersborrill <sborrill>2011-10-03 16:58:57 +0000
commitf09f8c3c946769f3d8e0919ef10a0c641719b8a5 (patch)
tree181bb4813ec9f843ba4d853fcca931d2251faa23 /sysutils/xentools41
parent857a920b146b3e9a49dc90d85dd75e324f3e5317 (diff)
downloadpkgsrc-f09f8c3c946769f3d8e0919ef10a0c641719b8a5.tar.gz
Add patch to be used by xenstoretools to install a subset of the relevant
tools.
Diffstat (limited to 'sysutils/xentools41')
-rw-r--r--sysutils/xentools41/distinfo3
-rw-r--r--sysutils/xentools41/patches/patch-xenstore_Makefile29
2 files changed, 31 insertions, 1 deletions
diff --git a/sysutils/xentools41/distinfo b/sysutils/xentools41/distinfo
index de64e5ae248..338ff7551e6 100644
--- a/sysutils/xentools41/distinfo
+++ b/sysutils/xentools41/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.8 2011/06/16 13:40:06 cegger Exp $
+$NetBSD: distinfo,v 1.9 2011/10/03 16:58:58 sborrill Exp $
SHA1 (ipxe-git-v1.0.0.tar.gz) = da052c8de5f3485fe0253c19cf52ed6d72528485
RMD160 (ipxe-git-v1.0.0.tar.gz) = dcd9b6eaafa1ce05c1ebf2a15f2f73ad7a8c5547
@@ -35,3 +35,4 @@ SHA1 (patch-dc) = d860fe3725978227278d58f09e7d5157001e463e
SHA1 (patch-dd) = b0c6253a77c09c8625bc9425742b395d1ce67010
SHA1 (patch-de) = b118ff85070cac7cd81375d2f59ad10b719ae263
SHA1 (patch-qemu-phy-devices) = fef90e50ef0a58db2f2b49b6c23218f371791de5
+SHA1 (patch-xenstore_Makefile) = 4fa0ed7b76a96011c3cca9c5017be4b5151489f7
diff --git a/sysutils/xentools41/patches/patch-xenstore_Makefile b/sysutils/xentools41/patches/patch-xenstore_Makefile
new file mode 100644
index 00000000000..bd579027ac1
--- /dev/null
+++ b/sysutils/xentools41/patches/patch-xenstore_Makefile
@@ -0,0 +1,29 @@
+$NetBSD: patch-xenstore_Makefile,v 1.1 2011/10/03 16:58:57 sborrill Exp $
+
+Adds a target to install just the useful bits for the xenstore tools.
+
+Used by sysutils/xenstoretools only, but patch maintained here in xentools41 as
+xenstoretools shares the same distinfo.
+
+--- xenstore/Makefile.orig 2011-06-14 17:03:45.000000000 +0100
++++ xenstore/Makefile 2011-10-03 13:16:43.000000000 +0100
+@@ -111,6 +111,19 @@
+ $(INSTALL_DATA) xs.h $(DESTDIR)$(INCLUDEDIR)
+ $(INSTALL_DATA) xs_lib.h $(DESTDIR)$(INCLUDEDIR)
+
++.PHONY: install
++installclients: clients
++ $(INSTALL_DIR) $(DESTDIR)$(BINDIR)
++ $(INSTALL_PROG) xenstore-control $(DESTDIR)$(BINDIR)
++ $(INSTALL_PROG) xenstore $(DESTDIR)$(BINDIR)
++ set -e ; for c in $(CLIENTS) ; do \
++ ln -f $(DESTDIR)$(BINDIR)/xenstore $(DESTDIR)$(BINDIR)/$${c} ; \
++ done
++ $(INSTALL_DIR) $(DESTDIR)$(LIBDIR)
++ $(INSTALL_PROG) libxenstore.so.$(MAJOR).$(MINOR) $(DESTDIR)$(LIBDIR)
++ ln -sf libxenstore.so.$(MAJOR).$(MINOR) $(DESTDIR)$(LIBDIR)/libxenstore.so.$(MAJOR)
++ ln -sf libxenstore.so.$(MAJOR) $(DESTDIR)$(LIBDIR)/libxenstore.so
++
+ -include $(DEPS)
+
+ # never delete any intermediate files.