summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorRoger Hardiman <roger@FreeBSD.org>2002-11-21 09:56:50 +0000
committerRoger Hardiman <roger@FreeBSD.org>2002-11-21 09:56:50 +0000
commitc318aa2bef1f76064bfa429fc2d11404003dc4be (patch)
tree6d9aa823ec4cd037b38839af48514c02fb70c479 /net
parentUpdate distinfo. Developer has added ffihugs to hugs98.spec file. (diff)
For fixes for 5.0 because the ixj driver does not compile on 5.0 systems
Submitted by: Kris
Notes
Notes: svn path=/head/; revision=70656
Diffstat (limited to 'net')
-rw-r--r--net/opal/Makefile2
-rw-r--r--net/opal3/Makefile2
-rw-r--r--net/openh323-112/Makefile2
-rw-r--r--net/openh323/Makefile2
4 files changed, 8 insertions, 0 deletions
diff --git a/net/opal/Makefile b/net/opal/Makefile
index 97438c2b6b81..d34a2a9cdc18 100644
--- a/net/opal/Makefile
+++ b/net/opal/Makefile
@@ -44,6 +44,7 @@ THE_MACHTYPE= ${ARCH:S/i386/x86/}
MAKE_ARGS= OSTYPE=${OPSYS} MACHTYPE=${THE_MACHTYPE} OSRELEASE=${OSVERSION} CPLUS=${CXX}
post-patch:
+.if ${OSVERSION} < 500000
.if !exists(/usr/include/sys/telephony.h)
.if !exists(/usr/local/include/sys/telephony.h)
# Copy ixj driver include files into OpenH323 include directory
@@ -52,6 +53,7 @@ post-patch:
${CP} ${WRKDIRPREFIX}${.CURDIR}/../../comms/ixj/work/ixj_freebsd/ixjuser.h ${WRKDIR}/openh323/include/sys
.endif
.endif
+.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/samples/simple/obj_${OPSYS}_${THE_MACHTYPE}_r/simph323 ${PREFIX}/bin
diff --git a/net/opal3/Makefile b/net/opal3/Makefile
index 97438c2b6b81..d34a2a9cdc18 100644
--- a/net/opal3/Makefile
+++ b/net/opal3/Makefile
@@ -44,6 +44,7 @@ THE_MACHTYPE= ${ARCH:S/i386/x86/}
MAKE_ARGS= OSTYPE=${OPSYS} MACHTYPE=${THE_MACHTYPE} OSRELEASE=${OSVERSION} CPLUS=${CXX}
post-patch:
+.if ${OSVERSION} < 500000
.if !exists(/usr/include/sys/telephony.h)
.if !exists(/usr/local/include/sys/telephony.h)
# Copy ixj driver include files into OpenH323 include directory
@@ -52,6 +53,7 @@ post-patch:
${CP} ${WRKDIRPREFIX}${.CURDIR}/../../comms/ixj/work/ixj_freebsd/ixjuser.h ${WRKDIR}/openh323/include/sys
.endif
.endif
+.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/samples/simple/obj_${OPSYS}_${THE_MACHTYPE}_r/simph323 ${PREFIX}/bin
diff --git a/net/openh323-112/Makefile b/net/openh323-112/Makefile
index 97438c2b6b81..d34a2a9cdc18 100644
--- a/net/openh323-112/Makefile
+++ b/net/openh323-112/Makefile
@@ -44,6 +44,7 @@ THE_MACHTYPE= ${ARCH:S/i386/x86/}
MAKE_ARGS= OSTYPE=${OPSYS} MACHTYPE=${THE_MACHTYPE} OSRELEASE=${OSVERSION} CPLUS=${CXX}
post-patch:
+.if ${OSVERSION} < 500000
.if !exists(/usr/include/sys/telephony.h)
.if !exists(/usr/local/include/sys/telephony.h)
# Copy ixj driver include files into OpenH323 include directory
@@ -52,6 +53,7 @@ post-patch:
${CP} ${WRKDIRPREFIX}${.CURDIR}/../../comms/ixj/work/ixj_freebsd/ixjuser.h ${WRKDIR}/openh323/include/sys
.endif
.endif
+.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/samples/simple/obj_${OPSYS}_${THE_MACHTYPE}_r/simph323 ${PREFIX}/bin
diff --git a/net/openh323/Makefile b/net/openh323/Makefile
index 97438c2b6b81..d34a2a9cdc18 100644
--- a/net/openh323/Makefile
+++ b/net/openh323/Makefile
@@ -44,6 +44,7 @@ THE_MACHTYPE= ${ARCH:S/i386/x86/}
MAKE_ARGS= OSTYPE=${OPSYS} MACHTYPE=${THE_MACHTYPE} OSRELEASE=${OSVERSION} CPLUS=${CXX}
post-patch:
+.if ${OSVERSION} < 500000
.if !exists(/usr/include/sys/telephony.h)
.if !exists(/usr/local/include/sys/telephony.h)
# Copy ixj driver include files into OpenH323 include directory
@@ -52,6 +53,7 @@ post-patch:
${CP} ${WRKDIRPREFIX}${.CURDIR}/../../comms/ixj/work/ixj_freebsd/ixjuser.h ${WRKDIR}/openh323/include/sys
.endif
.endif
+.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/samples/simple/obj_${OPSYS}_${THE_MACHTYPE}_r/simph323 ${PREFIX}/bin