aboutsummaryrefslogtreecommitdiff
path: root/net/opal
diff options
context:
space:
mode:
Diffstat (limited to 'net/opal')
-rw-r--r--net/opal/Makefile2
1 files changed, 2 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