aboutsummaryrefslogtreecommitdiffstats
path: root/net/opal3
diff options
context:
space:
mode:
authorroger <roger@FreeBSD.org>2002-11-12 18:12:06 +0800
committerroger <roger@FreeBSD.org>2002-11-12 18:12:06 +0800
commit320f9d20cbc6182ae76338e9248d5faec07e8ac2 (patch)
treeb0d57a2c9a363d4a65c1d3364b50dae4322c270d /net/opal3
parent87351e9ada764e273c5a3fe69d0b0edd0a57eea1 (diff)
downloadfreebsd-ports-gnome-320f9d20cbc6182ae76338e9248d5faec07e8ac2.tar.gz
freebsd-ports-gnome-320f9d20cbc6182ae76338e9248d5faec07e8ac2.tar.zst
freebsd-ports-gnome-320f9d20cbc6182ae76338e9248d5faec07e8ac2.zip
The IXJ driver does not compile on 5.x machines, so only add it as a
port dependency on FreeBSD 4.x and lower.
Diffstat (limited to 'net/opal3')
-rw-r--r--net/opal3/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/net/opal3/Makefile b/net/opal3/Makefile
index 2e8b387007fc..97438c2b6b81 100644
--- a/net/opal3/Makefile
+++ b/net/opal3/Makefile
@@ -19,6 +19,9 @@ MAINTAINER= roger@freebsd.org
LIB_DEPENDS= speex.0:${PORTSDIR}/audio/speex \
expat.4:${PORTSDIR}/textproc/expat2
+
+.include <bsd.port.pre.mk>
+.if ${OSVERSION} < 500000
# Check for telephony.h in the two places the source is hard coded to check
# /usr/include/sys and /usr/local/include/sys
# If it is not present, extract it from the comms/ixj port
@@ -27,6 +30,7 @@ LIB_DEPENDS= speex.0:${PORTSDIR}/audio/speex \
BUILD_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/comms/ixj:patch
.endif
.endif
+.endif
WRKSRC= ${WRKDIR}/${PORTNAME}
@@ -52,4 +56,4 @@ post-patch:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/samples/simple/obj_${OPSYS}_${THE_MACHTYPE}_r/simph323 ${PREFIX}/bin
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>