From dfff5c136b68629a89ba8cc505e6ea223f4f3897 Mon Sep 17 00:00:00 2001
From: "Sergey A. Osokin" <osa@FreeBSD.org>
Date: Tue, 21 Oct 2003 15:09:23 +0000
Subject: Since the bktr(4) driver does not exist on every FreeBSD platform,
 this port needs to be restricted to those which are supported.

Submitted by:	Simon Barner <barner@in.tum.de>
PR:		58334
---
 multimedia/fxtv/Makefile | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

(limited to 'multimedia/fxtv')

diff --git a/multimedia/fxtv/Makefile b/multimedia/fxtv/Makefile
index 6a02ad58736f..7a142f4f7a7a 100644
--- a/multimedia/fxtv/Makefile
+++ b/multimedia/fxtv/Makefile
@@ -33,7 +33,16 @@ USE_GMAKE=	yes
 MAKE_FLAGS=	-e
 MAN1=		fxtv.1
 
+.include <bsd.port.pre.mk>
+
+pre-everything::
+.if ${OSVERSION} < 500000
+ONLY_FOR_ARCHS=	i386
+.else
+ONLY_FOR_ARCHS=	alpha i386 ia64
+.endif
+
 pre-install:
 	${CP} ${WRKSRC}/fxtv.1 ${WRKSRC}/fxtv.man
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
-- 
cgit debian/1.2.3+git2.25.1-1-2-gaceb0