From 90dcd3e1f15b9847129b50e83be0f4d70888ac2d Mon Sep 17 00:00:00 2001 From: sobomax Date: Mon, 25 Oct 2004 11:20:48 +0000 Subject: Since H.323 module is written in C++ use $(CXX) to link it, not $(CC). This fixes `Undefined symbol "__ls__7ostreamPCc"' when loading chan_h323.so module. Bump PORTREVISION. Reported by: Christophe Prevotaux --- net/asterisk-devel/files/patch-channels::Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'net/asterisk-devel') diff --git a/net/asterisk-devel/files/patch-channels::Makefile b/net/asterisk-devel/files/patch-channels::Makefile index 98caab3a33d6..f10e4bcbf3eb 100644 --- a/net/asterisk-devel/files/patch-channels::Makefile +++ b/net/asterisk-devel/files/patch-channels::Makefile @@ -72,7 +72,7 @@ $FreeBSD$ -chan_h323.so: chan_h323.o h323/libchanh323.a - $(CC) $(SOLINK) -o $@ $< h323/libchanh323.a $(CHANH323LIB) -L$(PWLIBDIR)/lib $(PTLIB) -L$(OPENH323DIR)/lib $(H323LIB) -L/usr/lib -lcrypto -lssl -lexpat +chan_h323.so: chan_h323.o h323/ast_h323.o -+ $(CC) $(SOLINK) -o $@ $< h323/ast_h323.o -L$(OPENH323DIR)/lib $(H323LIB) -L$(PWLIBDIR)/lib $(PTLIB) -lcrypto -lssl -L$(LOCALBASE)/lib -lexpat -llber -lldap -lldap_r ++ $(CXX) $(SOLINK) -o $@ $< h323/ast_h323.o -L$(OPENH323DIR)/lib $(H323LIB) -L$(PWLIBDIR)/lib $(PTLIB) -lcrypto -lssl -L$(LOCALBASE)/lib -lexpat -llber -lldap -lldap_r +h323/ast_h323.o: + $(MAKE) -C h323 ast_h323.o -- cgit