Replace the header check with an osreldate dependent architecture check.

Noticed by:	kris, Mark Linimon <linimon@lonesome.com>
Approved by:	alex (mentor)
This commit is contained in:
Oliver Lehmann 2003-06-10 12:05:00 +00:00
parent 2cd9a40e0d
commit 2cd5526ba0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=82666

View file

@ -20,8 +20,10 @@ LIB_DEPENDS= Xaw3d.${XAWVER}:${PORTSDIR}/x11-toolkits/Xaw3d \
jpeg.9:${PORTSDIR}/graphics/jpeg \ jpeg.9:${PORTSDIR}/graphics/jpeg \
aa.1:${PORTSDIR}/graphics/aalib aa.1:${PORTSDIR}/graphics/aalib
.if !exists(/usr/include/machine/ioctl_bt848.h) .if ${OSVERSION} < 500000
BROKEN= No ioctl_bt848.h on this architecture ONLY_FOR_ARCHS= i386
.else
ONLY_FOR_ARCHS= alpha i386 ia64
.endif .endif
WRKSRC= ${WRKDIR}/${DISTNAME:S/_/-/} WRKSRC= ${WRKDIR}/${DISTNAME:S/_/-/}