aboutsummaryrefslogtreecommitdiff
path: root/net/asterisk14/files/patch-channels::Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/asterisk14/files/patch-channels::Makefile')
-rw-r--r--net/asterisk14/files/patch-channels::Makefile13
1 files changed, 5 insertions, 8 deletions
diff --git a/net/asterisk14/files/patch-channels::Makefile b/net/asterisk14/files/patch-channels::Makefile
index fa5a90a988fa..bb9d20047899 100644
--- a/net/asterisk14/files/patch-channels::Makefile
+++ b/net/asterisk14/files/patch-channels::Makefile
@@ -1,8 +1,5 @@
-
-$FreeBSD$
-
---- channels/Makefile.orig
-+++ channels/Makefile
+--- channels/Makefile.orig 2009-07-21 16:04:44.000000000 +0300
++++ channels/Makefile 2009-11-20 18:05:45.000000000 +0200
@@ -32,9 +32,10 @@
endif
@@ -36,16 +33,16 @@ $FreeBSD$
endif
dist-clean::
-@@ -113,8 +115,12 @@
+@@ -111,8 +113,12 @@
else
chan_h323.so: chan_h323.o h323/libchanh323.a
$(ECHO_PREFIX) echo " [LD] $^ -> $@"
+ifeq ($(OSARCH),FreeBSD)
+ $(CMD_PREFIX) $(CXX) $(PTHREAD_CFLAGS) $(ASTLDFLAGS) $(SOLINK) $(H323LDFLAGS) -o $@ $< h323/libchanh323.a $(H323LDLIBS) $(CHANH323LIB)
+else
- $(CMD_PREFIX) $(CXX) $(PTHREAD_CFLAGS) $(ASTLDFLAGS) $(SOLINK) -o $@ $< h323/libchanh323.a $(CHANH323LIB) -L$(PWLIBDIR)/lib $(PTLIB) -L$(OPENH323DIR)/lib $(H323LIB) -L/usr/lib -lcrypto -lssl -lexpat
+ $(CMD_PREFIX) $(CXX) $(PTHREAD_CFLAGS) $(_ASTLDFLAGS) $(SOLINK) -o $@ $< h323/libchanh323.a $(CHANH323LIB) -L$(PWLIBDIR)/lib $(PTLIB) -L$(OPENH323DIR)/lib $(H323LIB) -L/usr/lib -lcrypto -lssl -lexpat $(ASTLDFLAGS)
endif
+endif
- chan_misdn.o: ASTCFLAGS+=-Imisdn
+ chan_misdn.o: _ASTCFLAGS+=-Imisdn