ports/net/kamailio/files/patch-utils_kamctl_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

21 lines
657 B
Text

--- utils/kamctl/Makefile.orig 2017-04-21 12:46:06 UTC
+++ utils/kamctl/Makefile
@@ -8,6 +8,8 @@ else
kamctltmpdir = $(basedir)
endif
+skip_cfg_install?=yes
+
all:
@echo "No compilation needed for kamctl"
@@ -20,7 +22,8 @@ install-cfg: $(cfg_prefix)/$(cfg_dir)
$(INSTALL_TOUCH) $(cfg_prefix)/$(cfg_dir)/kamctlrc.sample
$(INSTALL_CFG) kamctlrc \
$(cfg_prefix)/$(cfg_dir)/kamctlrc.sample
- if [ ! -f $(cfg_prefix)/$(cfg_dir)/kamctlrc ]; then \
+ if [ -z "${skip_cfg_install}" -a \
+ ! -f $(cfg_prefix)/$(cfg_dir)/kamctlrc ]; then \
mv -f $(cfg_prefix)/$(cfg_dir)/kamctlrc.sample \
$(cfg_prefix)/$(cfg_dir)/kamctlrc; \
fi