mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-15 07:56:36 +00:00
2b05847ed9
free of any known vulnerabilities.
49 lines
1.7 KiB
Plaintext
49 lines
1.7 KiB
Plaintext
--- 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
|
|
|
|
ifeq ($(OSARCH),FreeBSD)
|
|
- PTLIB=-lpt_FreeBSD_x86_r
|
|
- H323LIB=-lh323_FreeBSD_x86_r
|
|
+ PTLIB=-lpt_r
|
|
+ H323LIB=-lh323_r
|
|
CHANH323LIB=-pthread
|
|
+ H323LDLIBS=$(PTLIB) $(H323LIB) $(CHANH323LIB)
|
|
endif
|
|
|
|
ifeq ($(OSARCH),NetBSD)
|
|
@@ -78,12 +79,13 @@
|
|
h323/libchanh323.a h323/Makefile.ast:
|
|
$(CMD_PREFIX) $(MAKE) -C h323
|
|
$(CMD_PREFIX) rm -f ../main/asterisk
|
|
- $(CMD_PREFIX) echo "***************************************************************"
|
|
- $(CMD_PREFIX) echo
|
|
- $(CMD_PREFIX) echo "********** Re-run 'make' to pick up H.323 parameters **********"
|
|
- $(CMD_PREFIX) echo
|
|
- $(CMD_PREFIX) echo "***************************************************************"
|
|
- $(CMD_PREFIX) exit 1
|
|
+ $(CMD_PREFIX) $(MAKE) -C . chan_h323.so
|
|
+# $(CMD_PREFIX) echo "***************************************************************"
|
|
+# $(CMD_PREFIX) echo
|
|
+# $(CMD_PREFIX) echo "********** Re-run 'make' to pick up H.323 parameters **********"
|
|
+# $(CMD_PREFIX) echo
|
|
+# $(CMD_PREFIX) echo "***************************************************************"
|
|
+# $(CMD_PREFIX) exit 1
|
|
endif
|
|
|
|
dist-clean::
|
|
@@ -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 $(ASTLDFLAGS)
|
|
endif
|
|
+endif
|
|
|
|
chan_misdn.o: _ASTCFLAGS+=-Imisdn
|
|
|