diff options
Diffstat (limited to 'net/kamailio/files/patch-utils__kamctl__Makefile')
-rw-r--r-- | net/kamailio/files/patch-utils__kamctl__Makefile | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/net/kamailio/files/patch-utils__kamctl__Makefile b/net/kamailio/files/patch-utils__kamctl__Makefile new file mode 100644 index 000000000000..a38a291d1cd5 --- /dev/null +++ b/net/kamailio/files/patch-utils__kamctl__Makefile @@ -0,0 +1,21 @@ +--- utils/kamctl/Makefile.orig 2014-08-06 15:29:51 UTC ++++ utils/kamctl/Makefile +@@ -3,6 +3,8 @@ + include $(COREPATH)/Makefile.defs + include $(COREPATH)/config.mak + ++skip_cfg_install?=yes ++ + all: + @echo "No compilation needed for kamctl" + +@@ -15,7 +17,8 @@ + $(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 |