ports/net/olsrd/files/patch-Makefile
Tijl Coosemans c442fd7e9c - Remove -fPIC and address the problem where a .o file compiled without
-fPIC is being linked into a shared library.  Copy the corresponding
  .c file into the shared library src directory such that it is compiled
  a second time with -fPIC.
- Enable verbose build.
- Add a patch to sync Makefile.fbsd with Makefile.linux.
2017-02-14 22:24:59 +00:00

32 lines
1.6 KiB
Text

--- Makefile.orig 2016-11-22 19:39:42 UTC
+++ Makefile
@@ -167,20 +167,17 @@ uninstall_bin:
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 installed
+ @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)
- $(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
+ -cp files/olsrd.conf.default.lq-fisheye $(CFGFILE).default.lq-fisheye
@echo -------------------------------------------
@echo Edit $(CFGFILE) before running olsrd!!
@echo -------------------------------------------