ports/net/kamailio/files/patch-Makefile
Kurt Jaeger 1edd9b3372 net/kamailio: 4.2.4 -> 4.3.1
Release-Notes: http://www.kamailio.org/w/kamailio-v4-3-0-release-notes/
New features: http://www.kamailio.org/wiki/features/new-in-4.3.x

- tries to fix installation issues with non-default options
- adds WEBSOCKET option

PR:		200352
2015-09-05 21:48:31 +00:00

35 lines
1.2 KiB
Text

--- Makefile.orig 2015-07-20 13:16:24 UTC
+++ 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?=
@@ -646,7 +646,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:
@@ -761,10 +761,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)