Bug 58334 - multimedia/fxtv: add architecture constraints
Summary: multimedia/fxtv: add architecture constraints
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-21 15:30 UTC by Simon Barner
Modified: 2003-10-21 16:09 UTC (History)
0 users

See Also:


Attachments
file.diff (419 bytes, patch)
2003-10-21 15:30 UTC, Simon Barner
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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!