Bug 58334

Summary: multimedia/fxtv: add architecture constraints
Product: Ports & Packages Reporter: Simon Barner <barner>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Simon Barner 2003-10-21 15:30:13 UTC
Since the bktr(4) driver does not exist on every FreeBSD platform, this
port needs to be restricted to those which are supported:
Comment 1 Sergey A. Osokin freebsd_committer freebsd_triage 2003-10-21 15:38:02 UTC
On Tue, Oct 21, 2003 at 04:29:23PM +0200, Simon Barner wrote:
> 
> >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>

Looks like something wrong: 2 "pre-install:" targets ?

-- 

Rgdz,                        /"\  ASCII RIBBON CAMPAIGN
Sergey Osokin aka oZZ,       \ /    AGAINST HTML MAIL
http://ozz.pp.ru/             X          AND NEWS
                             / \
Comment 2 Simon Barner 2003-10-21 15:44:36 UTC
> Looks like something wrong: 2 "pre-install:" targets ?

Oh, sorry. c'n'p mistake. Here is the corrected patch:

--- Makefile.orig	Tue Oct 21 16:23:34 2003
+++ Makefile	Tue Oct 21 16:42:57 2003
@@ -33,7 +33,16 @@
 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>
Comment 3 Sergey A. Osokin freebsd_committer freebsd_triage 2003-10-21 16:09:43 UTC
State Changed
From-To: open->closed

Committed, thanks!