ports/net/kamailio/files/patch-src_Makefile
Kurt Jaeger 6767e9c9af net/kamailio: update 4.4.3 -> 5.0.1
This is a major release, introducing a consistent set of new features
as well as improvements to existing components.

Reviewed by:	Alexey V. Panfilov <ports@subnets.ru>
Relnotes:	https://www.kamailio.org/w/kamailio-v5-0-0-release-notes/
2017-05-31 13:23:26 +00:00

35 lines
1.2 KiB
Text

--- 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)