Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Jan 2011 14:20:37 GMT
From:      Eitan Adler <lists@eitanadler.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/154393: [patch] make xf86-video-sunffb use ONLY_FOR_ARCH instead of special casing it
Message-ID:  <201101301420.p0UEKbxS089266@red.freebsd.org>
Resent-Message-ID: <201101301430.p0UEU9c1035737@freefall.freebsd.org>

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

>Number:         154393
>Category:       ports
>Synopsis:       [patch] make xf86-video-sunffb use ONLY_FOR_ARCH instead of special casing it
>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:   Sun Jan 30 14:30:09 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Eitan Adler
>Release:        
>Organization:
>Environment:
>Description:
Currently there is some special casing going in bsd.xorg.mk that prevents x11-drivers/xf86-video-sunffb from being installed on non sparc platforms.
1) This is information that should be maintained in the port file
2) it uses a custom IGNORE instead of ONLY_FOR_ARCHS

>How-To-Repeat:

>Fix:
Index: Mk/bsd.xorg.mk
===================================================================
RCS file: /home/ncvs/ports/Mk/bsd.xorg.mk,v
retrieving revision 1.12
diff -u -r1.12 bsd.xorg.mk
--- Mk/bsd.xorg.mk	1 May 2010 11:40:05 -0000	1.12
+++ Mk/bsd.xorg.mk	30 Jan 2011 14:02:50 -0000
@@ -57,9 +57,6 @@
 .  else
 IGNORE=		doesn't contain either "driver" or "input"
 .  endif
-.  if ${PORTNAME:M*-sun*}x != x && ${ARCH} != sparc64
-IGNORE=		is for sparc64 only
-.  endif
 . endif
 
 . if ${XORG_CAT} == "font"
Index: x11-drivers/xf86-video-sunffb/Makefile
===================================================================
RCS file: /home/ncvs/ports/x11-drivers/xf86-video-sunffb/Makefile,v
retrieving revision 1.10
diff -u -r1.10 Makefile
--- x11-drivers/xf86-video-sunffb/Makefile	30 May 2010 19:53:07 -0000	1.10
+++ x11-drivers/xf86-video-sunffb/Makefile	30 Jan 2011 14:02:50 -0000
@@ -17,5 +17,6 @@
 XORG_CAT=	driver
 USE_XORG=	xf86driproto xextproto glproto
 MAN4=		sunffb.4x
+ONLY_FOR_ARCHS=	sparc64
 
 .include <bsd.port.mk>
Index: x11-drivers/xf86-video-sunffb/distinfo
===================================================================
RCS file: /home/ncvs/ports/x11-drivers/xf86-video-sunffb/distinfo,v
retrieving revision 1.3
diff -u -r1.3 distinfo
--- x11-drivers/xf86-video-sunffb/distinfo	30 May 2010 19:53:07 -0000	1.3
+++ x11-drivers/xf86-video-sunffb/distinfo	30 Jan 2011 14:02:50 -0000
@@ -1,3 +1,2 @@
-MD5 (xorg/driver/xf86-video-sunffb-1.2.1.tar.bz2) = 1bb374fe5ab3ed780d353b2b12ba6255
 SHA256 (xorg/driver/xf86-video-sunffb-1.2.1.tar.bz2) = fd377af6e366e8e3a77c8ff825a009138c8343c0007bbf070ad605a649577e11
 SIZE (xorg/driver/xf86-video-sunffb-1.2.1.tar.bz2) = 283427


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



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