Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Feb 2004 23:10:06 -0500 (EST)
From:      Hendrik Scholz <hendrik@scholz.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        chein@FreeBSD.org
Subject:   ports/63107: amd64/sparc64-bento-fix: multimedia/camserv
Message-ID:  <20040220041006.8635839845@slurmcan.wormulon.net>
Resent-Message-ID: <200402200410.i1K4A5KX026924@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         63107
>Category:       ports
>Synopsis:       amd64/sparc64-bento-fix: multimedia/camserv
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 19 20:10:05 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Hendrik Scholz
>Release:        FreeBSD 5.2.1-RC amd64
>Organization:
>Environment:
System: FreeBSD slurmcan.wormulon.net 5.2.1-RC FreeBSD 5.2.1-RC #0: Sat Jan 31 12:38:34 GMT 2004 root@ngoc.NUXI.com:/usr/obj/usr/src/sys/GENERIC amd64


	
>Description:

bttv is not supported on all platforms so prevent compilation on others.
Compare with xawtv port and pr ports/62860.

from camserv pkg-descr:

"Currently, the only supported BSD device is the bttv driver.
Both tunable modes and camera inputs are supported."

>How-To-Repeat:
	
>Fix:

	

--- camserv-arch.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/FreeBSD-CVS/ports/multimedia/camserv/Makefile,v
retrieving revision 1.6
diff -u -r1.6 Makefile
--- Makefile	6 Feb 2004 08:28:44 -0000	1.6
+++ Makefile	20 Feb 2004 04:07:29 -0000
@@ -30,6 +30,12 @@
 
 .include <bsd.port.pre.mk>
 
+.if ${OSVERSION} < 500000
+ONLY_FOR_ARCHS=	i386
+.else
+ONLY_FOR_ARCHS=	alpha i386 ia64
+.endif
+
 .if ${OSVERSION} >= 502000
 BROKEN=		"Broken pkg-plist"
 .endif
--- camserv-arch.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040220041006.8635839845>