Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 May 2012 13:27:17 GMT
From:      Eitan Adler <eadler@FreeBSD.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/167677: [bsd.port.mk] [exp-run] Reaper of the dead: remove depercated USE_XLIB from b.p.m
Message-ID:  <201205071327.q47DRHfp009736@red.freebsd.org>
Resent-Message-ID: <201205071330.q47DUHjW011123@freefall.freebsd.org>

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

>Number:         167677
>Category:       ports
>Synopsis:       [bsd.port.mk] [exp-run] Reaper of the dead: remove depercated USE_XLIB from b.p.m
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 07 13:30:16 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Eitan Adler
>Release:        
>Organization:
>Environment:
>Description:
xorg team deprecated USE_XLIB a while ago and ak@ has finally thwacked them all.  
>How-To-Repeat:

>Fix:
Index: bsd.port.mk
===================================================================
RCS file: /home/pcvs/ports/Mk/bsd.port.mk,v
retrieving revision 1.708
diff -u -r1.708 bsd.port.mk
--- bsd.port.mk	13 Mar 2012 08:14:45 -0000	1.708
+++ bsd.port.mk	7 May 2012 13:26:02 -0000
@@ -351,8 +351,6 @@
 # USE_IMAKE		- If set, this port uses imake.
 # XMKMF			- Set to path of `xmkmf' if not in $PATH
 #				  Default: xmkmf -a
-# USE_XLIB		- If set, this port uses the X libraries. In the USE_LINUX
-#				  case the linux X libraries are referenced.
 # USE_DISPLAY	- If set, this ports requires a (virtual) X11 environment
 #				  setup. If the environment variable DISPLAY Is not set,
 #				  then an extra build dependency on Xvfb is added. Further,
@@ -2098,16 +2096,7 @@
 USE_SUBMAKE=	yes
 .endif
 
-.if defined(USE_XLIB)
-.	if defined(USE_LINUX)
-RUN_DEPENDS+=	${LINUXBASE}/usr/X11R6/lib/libXrender.so.1:${PORTSDIR}/x11/linux-xorg-libs
-.	else
-BUILD_DEPENDS+=	${LOCALBASE}/libdata/xorg/libraries:${X_LIBRARIES_PORT}
-RUN_DEPENDS+=	${LOCALBASE}/libdata/xorg/libraries:${X_LIBRARIES_PORT}
-.	endif
-.endif
-
-.if defined(USE_XLIB) || defined(USE_XORG)
+.if defined(USE_XORG)
 # Add explicit X options to avoid problems with false positives in configure
 .if defined(GNU_CONFIGURE)
 CONFIGURE_ARGS+=--x-libraries=${LOCALBASE}/lib --x-includes=${LOCALBASE}/include


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



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