summaryrefslogtreecommitdiff
path: root/net/v6eval/files/patch-etc-Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/v6eval/files/patch-etc-Makefile')
-rw-r--r--net/v6eval/files/patch-etc-Makefile22
1 files changed, 22 insertions, 0 deletions
diff --git a/net/v6eval/files/patch-etc-Makefile b/net/v6eval/files/patch-etc-Makefile
new file mode 100644
index 000000000000..710e6dae8262
--- /dev/null
+++ b/net/v6eval/files/patch-etc-Makefile
@@ -0,0 +1,22 @@
+--- etc/Makefile.orig 2013-06-17 00:07:30.000000000 +0900
++++ etc/Makefile 2013-06-17 00:18:09.000000000 +0900
+@@ -43,15 +43,15 @@
+ # Makefile for sample config file
+ #
+
+-PREFIX=/usr/local/v6eval
+-ETCDIR=$(PREFIX)/etc
++PREFIX?=/usr/local
++ETCDIR=$(PREFIX)/v6eval/etc
+ SAMPLE=tn.def.sample nut.def.sample
+
+ all:
+
+ install:
+- install -d -o bin -g bin -m 755 $(ETCDIR)
+- install -c -o bin -g bin -m 644 $(SAMPLE) $(ETCDIR)
++ install -d -m 555 $(ETCDIR)
++ ${BSD_INSTALL_DATA} $(SAMPLE) $(ETCDIR)
+
+ depend:
+