aboutsummaryrefslogtreecommitdiff
path: root/net/olsrd/files
diff options
context:
space:
mode:
authorJohn Hay <jhay@FreeBSD.org>2013-06-11 12:45:15 +0000
committerJohn Hay <jhay@FreeBSD.org>2013-06-11 12:45:15 +0000
commit4fa692590e8ad85d8b6c438baaf3ada0572217f1 (patch)
treeb8e65d220fa18f25f5a7540ebfe59313d645475f /net/olsrd/files
parent0b6d4a0dc5cb52f3ecbe1bd2dc4419efd576ce4b (diff)
downloadports-4fa692590e8ad85d8b6c438baaf3ada0572217f1.tar.gz
ports-4fa692590e8ad85d8b6c438baaf3ada0572217f1.zip
Notes
Diffstat (limited to 'net/olsrd/files')
-rw-r--r--net/olsrd/files/patch-Makefile14
1 files changed, 10 insertions, 4 deletions
diff --git a/net/olsrd/files/patch-Makefile b/net/olsrd/files/patch-Makefile
index 554192a7e788..9ccf67da1706 100644
--- a/net/olsrd/files/patch-Makefile
+++ b/net/olsrd/files/patch-Makefile
@@ -1,6 +1,6 @@
---- Makefile.orig 2010-05-13 12:52:55.000000000 +0200
-+++ Makefile 2010-05-16 15:51:06.904944901 +0200
-@@ -109,15 +109,16 @@
+--- Makefile.orig 2013-02-25 20:26:41.000000000 +0200
++++ Makefile 2013-02-28 12:26:13.686994166 +0200
+@@ -130,20 +130,17 @@
install_olsrd: install_bin
@echo ========= C O N F I G U R A T I O N - F I L E ============
@echo $(EXENAME) uses the configfile $(CFGFILE)
@@ -14,9 +14,15 @@
+ @echo as $(CFGFILE).default.full, $(CFGFILE).default.rfc,
+ @echo $(CFGFILE).default.lq and $(CFGFILE).default.lq-fisheye
+ @echo copy and edit one of these to $(CFGFILE)
++ @echo If in doubt start with $(CFGFILE).default.lq
@echo ==========================================================
mkdir -p $(ETCDIR)
-- -cp -i files/olsrd.conf.default.lq $(CFGFILE)
+- $(MAKECMDPREFIX)if [ -e $(CFGFILE) ]; then \
+- cp -f files/olsrd.conf.default.lq $(CFGFILE).new; \
+- echo "Configuration file was saved as $(CFGFILE).new"; \
+- else \
+- cp -f files/olsrd.conf.default.lq $(CFGFILE); \
+- fi
+ -cp files/olsrd.conf.default.full $(CFGFILE).default.full
+ -cp files/olsrd.conf.default.rfc $(CFGFILE).default.rfc
+ -cp files/olsrd.conf.default.lq $(CFGFILE).default.lq