ports/58334: multimedia/fxtv: add architecture constraints

Simon Barner barner at in.tum.de
Tue Oct 21 14:30:15 UTC 2003


>Number:         58334
>Category:       ports
>Synopsis:       multimedia/fxtv: add architecture constraints
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Oct 21 07:30:13 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Simon Barner
>Release:        FreeBSD 4.9-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD zi025.glhnet.mhn.de 4.9-PRERELEASE FreeBSD 4.9-PRERELEASE #1: Thu Sep 4 20:49:53 CEST 2003 simon at zi025.glhnet.mhn.de:/usr/src/sys/compile/KISTE i386

>Description:

Since the bktr(4) driver does not exist on every FreeBSD platform, this
port needs to be restricted to those which are supported:

>How-To-Repeat:
>Fix:
--- Makefile.orig	Tue Oct 21 16:23:34 2003
+++ Makefile	Tue Oct 21 16:25:59 2003
@@ -36,4 +36,16 @@
 pre-install:
 	${CP} ${WRKSRC}/fxtv.1 ${WRKSRC}/fxtv.man
 
-.include <bsd.port.mk>
+.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.post.mk>
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list