diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2011-11-07 23:38:48 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2011-11-07 23:38:48 +0000 |
commit | 2b05847ed94e390cdfe7c15313ab7b623a1b0cf0 (patch) | |
tree | dc72111eb39db03a5eb54f7313444d5e1b4ca2a4 /net/asterisk14/files/patch-agi::Makefile | |
parent | - Honor custom PREFIX [1] (diff) |
Ressurect asterisk14 and upgrade to the latest 1.4.42, which should be
free of any known vulnerabilities.
Diffstat (limited to 'net/asterisk14/files/patch-agi::Makefile')
-rw-r--r-- | net/asterisk14/files/patch-agi::Makefile | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/net/asterisk14/files/patch-agi::Makefile b/net/asterisk14/files/patch-agi::Makefile new file mode 100644 index 000000000000..f9910fe96dd6 --- /dev/null +++ b/net/asterisk14/files/patch-agi::Makefile @@ -0,0 +1,25 @@ +--- agi/Makefile.orig Sat Dec 16 23:14:34 2006 ++++ agi/Makefile Wed Mar 28 11:13:21 2007 +@@ -13,7 +13,9 @@ + + .PHONY: clean all uninstall + +-AGIS=agi-test.agi eagi-test eagi-sphinx-test jukebox.agi ++AGIS_BIN=eagi-test eagi-sphinx-test ++AGIS_SCR=agi-test.agi jukebox.agi ++AGIS=$(AGIS_SCR) $(AGIS_BIN) + + ifeq ($(OSARCH),SunOS) + LIBS+=-lsocket -lnsl +@@ -31,8 +33,9 @@ eagi-test: eagi-test.o strcompat.o + eagi-sphinx-test: eagi-sphinx-test.o + + install: all +- mkdir -p $(DESTDIR)$(AGI_DIR) +- for x in $(AGIS); do $(INSTALL) -m 755 $$x $(DESTDIR)$(AGI_DIR) ; done ++ $(MKDIR) -p $(DESTDIR)$(AGI_DIR) ++ for x in $(AGIS_BIN); do $(BSD_INSTALL_PROGRAM) $$x $(DESTDIR)$(AGI_DIR) ; done ++ for x in $(AGIS_SCR); do $(BSD_INSTALL_SCRIPT) $$x $(DESTDIR)$(AGI_DIR) ; done + + uninstall: + for x in $(AGIS); do rm -f $(DESTDIR)$(AGI_DIR)/$$x ; done |