aboutsummaryrefslogtreecommitdiffstats
path: root/net/opal3
diff options
context:
space:
mode:
authorroger <roger@FreeBSD.org>2002-11-21 17:56:50 +0800
committerroger <roger@FreeBSD.org>2002-11-21 17:56:50 +0800
commit806d524742c4ed55599fb0527598fb0eb8e7e09a (patch)
treeff2d95f88ef6f840dddb3a0ee5e16bed2cd9a15c /net/opal3
parent678d314c24f6164bf3d011c6896e4f20d66df6f2 (diff)
downloadfreebsd-ports-gnome-806d524742c4ed55599fb0527598fb0eb8e7e09a.tar.gz
freebsd-ports-gnome-806d524742c4ed55599fb0527598fb0eb8e7e09a.tar.zst
freebsd-ports-gnome-806d524742c4ed55599fb0527598fb0eb8e7e09a.zip
For fixes for 5.0 because the ixj driver does not compile on 5.0 systems
Submitted by: Kris
Diffstat (limited to 'net/opal3')
-rw-r--r--net/opal3/Makefile2
1 files changed, 2 insertions, 0 deletions
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