ports/net/asterisk/files/patch-agi::Makefile
Max Khon b27709344b - Update to 1.2.7.1 [1]
- Remove bristuff support (will be added later as a slave port)
- Update codec negotiation patch [2]
- Use pwlib and openh323 from ports [3]
- Remove FORBIDDEN now that asterisk is >= 1.2.6

Note: WITH_ZAPTEL may be broken because zaptel-bsd driver is not
synced with Digium zaptel driver.

PR:		93528, 96315
Submitted by:	Andriy I Pylypenko <bamby@portaone.com> [1] [2] [3]
Approved by:	MAINTAINER
2006-04-26 11:31:03 +00:00

25 lines
731 B
Text

--- agi/Makefile.orig Sun Jan 22 17:53:44 2006
+++ agi/Makefile Sun Jan 22 17:55:53 2006
@@ -11,7 +11,9 @@
# the GNU General Public License
#
-AGIS=agi-test.agi eagi-test eagi-sphinx-test
+AGIS_BIN=eagi-test eagi-sphinx-test
+AGIS_SCR=agi-test.agi
+AGIS=$(AGIS_SCR) $(AGIS_BIN)
CFLAGS+=
@@ -27,8 +29,9 @@
all: depend $(AGIS)
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
eagi-test: eagi-test.o
$(CC) $(CFLAGS) -o eagi-test eagi-test.o $(LIBS)