summaryrefslogtreecommitdiff
path: root/net/kamailio/files/patch-src_Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/kamailio/files/patch-src_Makefile')
-rw-r--r--net/kamailio/files/patch-src_Makefile35
1 files changed, 35 insertions, 0 deletions
diff --git a/net/kamailio/files/patch-src_Makefile b/net/kamailio/files/patch-src_Makefile
new file mode 100644
index 000000000000..ea050ea4903d
--- /dev/null
+++ b/net/kamailio/files/patch-src_Makefile
@@ -0,0 +1,35 @@
+--- src/Makefile.orig 2017-04-21 12:46:05 UTC
++++ src/Makefile
+@@ -34,7 +34,7 @@ err_fail?=1
+ # whether or not to install $(MAIN_NAME).cfg or just $(MAIN_NAME).cfg.default
+ # ($(MAIN_NAME).cfg will never be overwritten by make install, this is usefull
+ # when creating packages)
+-skip_cfg_install?=
++skip_cfg_install?=yes
+
+ #extra modules to exclude
+ skip_modules?=
+@@ -649,7 +649,7 @@ sunpkg:
+ .PHONY: install
+ install: mk_params="compile_for_install=yes"
+ install: install-bin install-every-module install-cfg \
+- install-doc install-man install-utils install-share
++ install-man install-utils install-share
+
+ .PHONY: dbinstall
+ dbinstall:
+@@ -764,10 +764,10 @@ install-cfg: $(cfg_prefix)/$(cfg_dir)
+ fi ; \
+ fi ; \
+ : ; done; true
+- @# radius dictionary
+- @$(INSTALL_TOUCH) $(cfg_prefix)/$(cfg_dir)/dictionary.$(CFG_NAME)
+- @$(INSTALL_CFG) ../etc/dictionary.$(CFG_NAME) $(cfg_prefix)/$(cfg_dir)
+- @echo "config files installed"
++ # radius dictionary
++ $(INSTALL_TOUCH) $(cfg_prefix)/$(cfg_dir)/dictionary.$(CFG_NAME).sample
++ $(INSTALL_CFG) ../etc/dictionary.$(CFG_NAME) $(cfg_prefix)/$(cfg_dir)/dictionary.$(CFG_NAME).sample
++ echo "config files installed"
+
+ install-bin: $(bin_prefix)/$(bin_dir) $(NAME)
+ $(INSTALL_TOUCH) $(bin_prefix)/$(bin_dir)/$(NAME)