aboutsummaryrefslogtreecommitdiff
path: root/audio/xmradio
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2004-11-29 13:35:04 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2004-11-29 13:35:04 +0000
commitd51c675f4480f27ab307452b8712a5ab042f7fc6 (patch)
tree6f7441d03418b54d8259a938306bd4cdfe9e09ed /audio/xmradio
parent66bc48834cbd97e5687c08f35d718010afbdec29 (diff)
downloadports-d51c675f4480f27ab307452b8712a5ab042f7fc6.tar.gz
ports-d51c675f4480f27ab307452b8712a5ab042f7fc6.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.
Notes
Notes: svn path=/head/; revision=122750
Diffstat (limited to 'audio/xmradio')
-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