aboutsummaryrefslogtreecommitdiffstats
path: root/net/olsrd/files
diff options
context:
space:
mode:
authorjhay <jhay@FreeBSD.org>2014-06-08 15:07:45 +0800
committerjhay <jhay@FreeBSD.org>2014-06-08 15:07:45 +0800
commitbd21ee0e766eb5db87711e084e347cddf012f743 (patch)
tree2b61e1dafa7a7962e3159e2bbc47353c180dfef3 /net/olsrd/files
parent33f17bf0af944aa50222d4111fe34ac48c7636f0 (diff)
downloadfreebsd-ports-gnome-bd21ee0e766eb5db87711e084e347cddf012f743.tar.gz
freebsd-ports-gnome-bd21ee0e766eb5db87711e084e347cddf012f743.tar.zst
freebsd-ports-gnome-bd21ee0e766eb5db87711e084e347cddf012f743.zip
Update to 0.6.6.2.
Diffstat (limited to 'net/olsrd/files')
-rw-r--r--net/olsrd/files/patch-Makefile24
1 files changed, 17 insertions, 7 deletions
diff --git a/net/olsrd/files/patch-Makefile b/net/olsrd/files/patch-Makefile
index 1025f0350cc5..d8fa664045eb 100644
--- a/net/olsrd/files/patch-Makefile
+++ b/net/olsrd/files/patch-Makefile
@@ -1,6 +1,6 @@
---- Makefile.orig 2013-02-25 20:26:41.000000000 +0200
-+++ Makefile 2014-06-06 21:12:29.821585175 +0200
-@@ -119,9 +119,9 @@
+--- Makefile.orig 2014-06-02 12:15:27.000000000 +0200
++++ Makefile 2014-06-07 21:42:39.688352979 +0200
+@@ -128,15 +128,15 @@
uninstall: uninstall_olsrd
install_bin:
@@ -10,10 +10,20 @@
+ mkdir -p ${STAGEDIR}$(SBINDIR)
+ install -m 755 $(EXENAME) ${STAGEDIR}$(SBINDIR)
+ $(STRIP) ${STAGEDIR}$(SBINDIR)/$(EXENAME)
+ ifeq ($(SGW_SUPPORT),1)
+- $(MAKECMDPREFIX)if [ -e $(SBINDIR)/$(SGW_POLICY_SCRIPT) ]; then \
+- cp -f files/$(SGW_POLICY_SCRIPT) $(SBINDIR)/$(SGW_POLICY_SCRIPT).new; \
+- echo "Policy routing script was saved as $(SBINDIR)/$(SGW_POLICY_SCRIPT).new"; \
++ $(MAKECMDPREFIX)if [ -e ${STAGEDIR}$(SBINDIR)/$(SGW_POLICY_SCRIPT) ]; then \
++ cp -f files/$(SGW_POLICY_SCRIPT) ${STAGEDIR}$(SBINDIR)/$(SGW_POLICY_SCRIPT).new; \
++ echo "Policy routing script was saved as ${STAGEDIR}$(SBINDIR)/$(SGW_POLICY_SCRIPT).new"; \
+ else \
+- cp -f files/$(SGW_POLICY_SCRIPT) $(SBINDIR)/$(SGW_POLICY_SCRIPT); \
++ cp -f files/$(SGW_POLICY_SCRIPT) ${STAGEDIR}$(SBINDIR)/$(SGW_POLICY_SCRIPT); \
+ fi
+ endif
- uninstall_bin:
- rm -f $(SBINDIR)/$(EXENAME)
-@@ -130,29 +130,26 @@
+@@ -147,29 +147,26 @@
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)
@@ -57,7 +67,7 @@
endif
uninstall_olsrd: uninstall_bin
-@@ -200,7 +197,7 @@
+@@ -217,7 +214,7 @@
-for dir in $(SUBDIRS);do $(MAKECMD) -C lib/$$dir LIBDIR=$(LIBDIR) clean;rm -f lib/$$dir/*.so lib/$$dir/*.dll;done
libs_install install_libs: