Skip site navigation (1)Skip section navigation (2)
Date:      Wed,  1 Aug 2007 00:18:09 +0200 (CEST)
From:      Martin Matuska <mm@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/115098: [PATCH] bsd.port.mk configure args for USE_XORG
Message-ID:  <20070731221809.9B4DB444BB@mail.vx.sk>
Resent-Message-ID: <200707312220.l6VMK706084291@freefall.freebsd.org>

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

>Number:         115098
>Category:       ports
>Synopsis:       [PATCH] bsd.port.mk configure args for USE_XORG
>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:   Tue Jul 31 22:20:07 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Martin Matuska
>Release:        FreeBSD 6.2-STABLE i386 amd64
>Organization:
>Environment:
System: FreeBSD 6.2-STABLE i386 amd64
>Description:
Patch adds --x-libraries=${X11BASE}/lib --x-includes=${X11BASE}/include to
USE_XORG && GNU_CONFIGURE define combination in addition to already existing
USE_XLIB && GNU_CONFIGURE

This patch will ease the transition from USE_XLIB to USE_XORG
>How-To-Repeat:
>Fix:
Index: ports/Mk/bsd.port.mk
===================================================================
RCS file: /home/pcvs/ports/Mk/bsd.port.mk,v
retrieving revision 1.577
diff -u -r1.577 bsd.port.mk
--- ports/Mk/bsd.port.mk	27 Jul 2007 21:40:11 -0000	1.577
+++ ports/Mk/bsd.port.mk	31 Jul 2007 22:11:35 -0000
@@ -2175,6 +2175,9 @@
 LIB_DEPENDS+=	X11.6:${X_LIBRARIES_PORT}
 .      endif
 .	endif
+.endif
+
+.if defined(USE_XLIB) || defined(USE_XORG)
 # Add explicit X options to avoid problems with false positives in configure
 .if defined(GNU_CONFIGURE)
 CONFIGURE_ARGS+=--x-libraries=${X11BASE}/lib --x-includes=${X11BASE}/include
>Release-Note:
>Audit-Trail:
>Unformatted:



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