aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2004-11-29 21:35:04 +0800
committerarved <arved@FreeBSD.org>2004-11-29 21:35:04 +0800
commit9825d83d611c6c8e435b587f4fa1618a27842d5a (patch)
treec116ac515ecdcb64a54c967dfb93f232715159b9 /audio
parent23606a5b4ef70b2d0b2d54018695abdb657405b2 (diff)
downloadfreebsd-ports-gnome-9825d83d611c6c8e435b587f4fa1618a27842d5a.tar.gz
freebsd-ports-gnome-9825d83d611c6c8e435b587f4fa1618a27842d5a.tar.zst
freebsd-ports-gnome-9825d83d611c6c8e435b587f4fa1618a27842d5a.zip
- 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.
Diffstat (limited to 'audio')
-rw-r--r--audio/xmradio/Makefile9
1 files changed, 3 insertions, 6 deletions
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 <bsd.port.pre.mk>
-.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