summaryrefslogtreecommitdiff
path: root/multimedia/fxtv
diff options
context:
space:
mode:
authorSergey A. Osokin <osa@FreeBSD.org>2003-10-21 15:09:23 +0000
committerSergey A. Osokin <osa@FreeBSD.org>2003-10-21 15:09:23 +0000
commitdfff5c136b68629a89ba8cc505e6ea223f4f3897 (patch)
tree567ac9ec5a08947e2b115fe48b9a905357c39411 /multimedia/fxtv
parent- Fix build on -current, unbreak this port (diff)
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
Notes
Notes: svn path=/head/; revision=91827
Diffstat (limited to 'multimedia/fxtv')
-rw-r--r--multimedia/fxtv/Makefile11
1 files changed, 10 insertions, 1 deletions
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>