summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net/vde/Makefile5
-rw-r--r--net/vde/distinfo3
-rw-r--r--net/vde/patches/patch-qemu_Makefile.in21
3 files changed, 27 insertions, 2 deletions
diff --git a/net/vde/Makefile b/net/vde/Makefile
index d1e66fdf1ab..487497e821e 100644
--- a/net/vde/Makefile
+++ b/net/vde/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2006/11/19 09:36:15 wiz Exp $
+# $NetBSD: Makefile,v 1.4 2011/03/20 09:05:54 obache Exp $
#
DISTNAME= vde-1.5.9
@@ -8,6 +8,9 @@ MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=vde/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://vde.sourceforge.net/
COMMENT= Virtual Distributed Ethernet tools
+LICENSE= gnu-gpl-v2
+
+PKG_DESTDIR_SUPPORT= user-destdir
USE_LIBTOOL= yes
USE_LANGUAGES= c c++
diff --git a/net/vde/distinfo b/net/vde/distinfo
index 3ca891bc493..cb205e953c5 100644
--- a/net/vde/distinfo
+++ b/net/vde/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.1.1.1 2005/07/11 03:23:29 grant Exp $
+$NetBSD: distinfo,v 1.2 2011/03/20 09:05:54 obache Exp $
SHA1 (vde-1.5.9.tar.gz) = 5c4b478c718783b4a7e42fd3128e2095b5d94680
RMD160 (vde-1.5.9.tar.gz) = b829263dc074110d95687add76b8227ca85d00e1
Size (vde-1.5.9.tar.gz) = 437770 bytes
SHA1 (patch-aa) = 934810045bd01e77fad382ec39ab09c1f2f5badb
+SHA1 (patch-qemu_Makefile.in) = db1b9d6ee51c29fa9d96e88ec788e1038d6cdf89
diff --git a/net/vde/patches/patch-qemu_Makefile.in b/net/vde/patches/patch-qemu_Makefile.in
new file mode 100644
index 00000000000..93eb82edb92
--- /dev/null
+++ b/net/vde/patches/patch-qemu_Makefile.in
@@ -0,0 +1,21 @@
+$NetBSD: patch-qemu_Makefile.in,v 1.1 2011/03/20 09:05:54 obache Exp $
+
+* fixes staged installation
+
+--- qemu/Makefile.in.orig 2005-06-15 11:17:12.000000000 +0000
++++ qemu/Makefile.in
+@@ -448,11 +448,11 @@ uninstall-am: uninstall-binPROGRAMS unin
+
+
+ install-exec-hook:
+- rm -f $(bindir)/vdeqemu
+- ln -s $(bindir)/vdeq $(bindir)/vdeqemu
++ rm -f $(DESTDIR)$(bindir)/vdeqemu
++ ln -s $(bindir)/vdeq $(DESTDIR)$(bindir)/vdeqemu
+
+ uninstall-local:
+- rm -f $(bindir)/vdeqemu
++ rm -f $(DESTDIR)$(bindir)/vdeqemu
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT: