mirror of
https://git.freebsd.org/ports.git
synced 2025-07-15 08:19:13 -04:00
-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.
32 lines
1.6 KiB
Text
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 -------------------------------------------
|