freebsd-ports/net/olsrd/files/patch-Makefile

25 lines
1.2 KiB
Text

--- Makefile.orig 2008-01-02 16:00:15.000000000 +0200
+++ Makefile 2008-01-04 12:23:05.000000000 +0200
@@ -102,15 +102,15 @@
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)
- @echo a default configfile. A sample RFC-compliance aimed
- @echo configfile can be found in olsrd.conf.default.rfc.
- @echo However none of the larger OLSRD using networks use that
- @echo so install a configfile with activated link quality exstensions
- @echo per default.
- @echo can be found at files/olsrd.conf.default.lq
+ @echo a default configfile. Sample config files are
+ @echo installed as $(CFGFILE).rfc, $(CFGFILE).lq and
+ @echo $(CFGFILE).lq-fishey
+ @echo copy and edit one of these to $(CFGFILE)
@echo ==========================================================
mkdir -p $(ETCDIR)
- -cp -i files/olsrd.conf.default.lq $(CFGFILE)
+ -cp files/olsrd.conf.default.rfc $(CFGFILE).rfc
+ -cp files/olsrd.conf.default.lq $(CFGFILE).lq
+ -cp files/olsrd.conf.default.lq-fisheye $(CFGFILE).lq-fisheye
@echo -------------------------------------------
@echo Edit $(CFGFILE) before running olsrd!!
@echo -------------------------------------------