freebsd-ports/net/openh323/files/patch-openh323uin
Roger Hardiman 7a5003ba21 Put back a patch I had accidentaly deleted which meant that IXJ support
was not compiled in. Add ldap dependency.
Bump revision
2003-09-01 05:29:21 +00:00

53 lines
1.3 KiB
Text

*** openh323u.mak.in.orig Wed May 14 20:52:44 2003
--- openh323u.mak.in Sun Aug 31 21:26:51 2003
*************** LIBDIRS += $(OPENH323DIR)
*** 142,152 ****
OH323_SRCDIR = $(OPENH323DIR)/src
! ifdef PREFIX
! OH323_INCDIR = $(PREFIX)/include/openh323
! else
OH323_INCDIR = $(OPENH323DIR)/include
! endif
OH323_LIBDIR = $(OPENH323DIR)/lib
--- 142,152 ----
OH323_SRCDIR = $(OPENH323DIR)/src
! #ifdef PREFIX
! #OH323_INCDIR = $(PREFIX)/include/openh323
! #else
OH323_INCDIR = $(OPENH323DIR)/include
! #endif
OH323_LIBDIR = $(OPENH323DIR)/lib
*************** ifdef OH323_SUPPRESS_H235
*** 184,189 ****
--- 184,190 ----
STDCCFLAGS += -DOH323_SUPPRESS_H235
endif
+ # Check for the ixj/telephony header files on the system.
ifneq (,$(wildcard $(SYSINCDIR)/linux/telephony.h))
HAS_IXJ = 1
STDCCFLAGS += -DHAS_IXJ
*************** endif
*** 197,202 ****
--- 198,210 ----
ifneq (,$(wildcard /usr/local/include/sys/telephony.h))
HAS_IXJ = 1
STDCCFLAGS += -DHAS_IXJ -I/usr/local/include
+ endif
+
+ # In the FreeBSD port, we make a local copy of the ixj header files from
+ # the ixj driver in openh323/include/sys
+ ifneq (,$(wildcard $(OPENH323DIR)/include/sys/telephony.h))
+ HAS_IXJ = 1
+ STDCCFLAGS += -DHAS_IXJ
endif
#Check if we have an OSS soundcard.h