From 9825d83d611c6c8e435b587f4fa1618a27842d5a Mon Sep 17 00:00:00 2001 From: arved Date: Mon, 29 Nov 2004 13:35:04 +0000 Subject: - Readd ONLY_FOR_ARCHS. Although this port builds on all architectures only i386 and ia64 seem to have the bktr(4) driver. - Add a more accurate OSVERSION for the bktr header reorganization. --- audio/xmradio/Makefile | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'audio/xmradio') diff --git a/audio/xmradio/Makefile b/audio/xmradio/Makefile index a3e7d8283c16..8019e328b1fa 100644 --- a/audio/xmradio/Makefile +++ b/audio/xmradio/Makefile @@ -20,17 +20,14 @@ COMMENT= Motif based FM tuner (for use with bt848 driver) USE_IMAKE= yes USE_XPM= yes USE_MOTIF= yes -USE_REINPLACE=YES +USE_REINPLACE= yes +ONLY_FOR_ARCHS= i386 ia64 PLIST_FILES= bin/xmradio lib/X11/app-defaults/XMradio .include -.if ${OSVERSION} < 500000 -ONLY_FOR_ARCHS= i386 -.endif - -.if ${OSVERSION} > 503000 +.if ${OSVERSION} > 502100 post-patch: ${REINPLACE_CMD} -e "s,machine/ioctl_bt848.h,dev/bktr/ioctl_bt848.h," \ ${WRKSRC}/radio.c -- cgit