misc/155502: [patch] remove sanity check for X_WINDOW_SYSTEM

Eitan Adler lists at eitanadler.com
Sat Mar 12 23:40:11 UTC 2011


>Number:         155502
>Category:       misc
>Synopsis:       [patch] remove sanity check for X_WINDOW_SYSTEM
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Mar 12 23:40:10 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Eitan Adler
>Release:        
>Organization:
>Environment:
>Description:
A check to see if X_WINDOW_SYSTEM is defined has been in b.p.m since 2008 when flz committed it. The variable is not used anywhere in the ports tree now and the check deserves to be removed. 

1.590        (flz      07-Mar-08): .if defined(X_WINDOW_SYSTEM) && ${X_WINDOW_SYSTEM:L} != "xorg"
1.590        (flz      07-Mar-08): IGNORE=              cannot be installed: bad X_WINDOW_SYSTEM setting; valid value is 'xorg'
1.566        (flz      19-May-07): .endif

>How-To-Repeat:

>Fix:
Index: bsd.port.mk
===================================================================
RCS file: /home/ncvs/ports/Mk/bsd.port.mk,v
retrieving revision 1.674
diff -u -r1.674 bsd.port.mk
--- bsd.port.mk	7 Mar 2011 07:32:05 -0000	1.674
+++ bsd.port.mk	12 Mar 2011 23:18:54 -0000
@@ -1396,10 +1396,6 @@
 .include "${PORTSDIR}/Mk/bsd.linux-apps.mk"
 .endif
 
-.if defined(X_WINDOW_SYSTEM) && ${X_WINDOW_SYSTEM:L} != "xorg"
-IGNORE=		cannot be installed: bad X_WINDOW_SYSTEM setting; valid value is 'xorg'
-.endif
-
 .if ${X11BASE} != ${LOCALBASE}
 .BEGIN:
 	@${ECHO_MSG} "X11BASE is now deprecated.  Unset X11BASE in make.conf and try again."


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


More information about the freebsd-bugs mailing list