summaryrefslogtreecommitdiff
path: root/net/v6eval/files/patch-include-Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/v6eval/files/patch-include-Makefile')
-rw-r--r--net/v6eval/files/patch-include-Makefile27
1 files changed, 27 insertions, 0 deletions
diff --git a/net/v6eval/files/patch-include-Makefile b/net/v6eval/files/patch-include-Makefile
new file mode 100644
index 000000000000..ff80dac0e4d7
--- /dev/null
+++ b/net/v6eval/files/patch-include-Makefile
@@ -0,0 +1,27 @@
+--- include/Makefile.orig 2013-06-17 00:06:14.000000000 +0900
++++ include/Makefile 2013-06-17 00:18:39.000000000 +0900
+@@ -45,17 +45,17 @@
+ # Makefile for standard definition file
+ #
+
+-PREFIX=/usr/local/v6eval
+-INCLUDEDIR=$(PREFIX)/include/
++PREFIX?=/usr/local
++INCLUDEDIR=$(PREFIX)/v6eval/include/
+
+ all:
+
+ install:
+- install -d -o bin -g bin -m 755 $(INCLUDEDIR)
+- install -c -o bin -g bin -m 644 std.def $(INCLUDEDIR)
+- install -c -o bin -g bin -m 644 stdaddr.def $(INCLUDEDIR)
+- install -c -o bin -g bin -m 644 stdpacket.def $(INCLUDEDIR)
+- install -c -o bin -g bin -m 644 stdconst.def $(INCLUDEDIR)
++ install -d -m 555 $(INCLUDEDIR)
++ ${BSD_INSTALL_DATA} std.def $(INCLUDEDIR)
++ ${BSD_INSTALL_DATA} stdaddr.def $(INCLUDEDIR)
++ ${BSD_INSTALL_DATA} stdpacket.def $(INCLUDEDIR)
++ ${BSD_INSTALL_DATA} stdconst.def $(INCLUDEDIR)
+
+ depend:
+ clean: