ports/63107: amd64/sparc64-bento-fix: multimedia/camserv

Hendrik Scholz hendrik at scholz.net
Fri Feb 20 04:10:06 UTC 2004


>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 at 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:



More information about the freebsd-ports-bugs mailing list