From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Dec 20 12:40:32 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7303816A4D1 for ; Mon, 20 Dec 2004 12:40:32 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0601443D48 for ; Mon, 20 Dec 2004 12:40:31 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.1/8.13.1) with ESMTP id iBKCeUx0064031 for ; Mon, 20 Dec 2004 12:40:30 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.1/8.13.1/Submit) id iBKCeU1V064030; Mon, 20 Dec 2004 12:40:30 GMT (envelope-from gnats) Resent-Date: Mon, 20 Dec 2004 12:40:30 GMT Resent-Message-Id: <200412201240.iBKCeU1V064030@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Trevor Johnson Received: by hub.freebsd.org (Postfix, from userid 855) id B764A16A4CF; Mon, 20 Dec 2004 12:34:55 +0000 (GMT) Message-Id: <20041220123455.B764A16A4CF@hub.freebsd.org> Date: Mon, 20 Dec 2004 12:34:55 +0000 (GMT) From: Trevor Johnson To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/75301: new USE_LINUX_X11 macro X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Trevor Johnson List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Dec 2004 12:40:32 -0000 >Number: 75301 >Category: ports >Synopsis: new USE_LINUX_X11 macro >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 Dec 20 12:40:30 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Trevor Johnson >Release: >Organization: >Environment: >Description: The x11/linux-XFree86-libs port installs X11 libraries from the XFree86 project, compiled for Linux. It is compatible with the linux_base-8 port and with the pending linux_base-rh-9 and linux_base-suse-9.1 ports (PRs 75241 and 75296). It conflicts with the other Linux base ports. Separating X from the Linux base ports is advantageous because when there is a security bug in the X libraries, package users need not download the rest of the Linux base--and similarly when there is a bug in another Linux base component, users need not download the X libraries (which are much smaller than the balance). Furthermore, users of Linux emulation who do not need X can eschew it this way. With this proposed macro, dependency on x11/linux-XFree86-libs can be noted compactly. Alexander Leidinger has prepared a list of ports which have this dependency but for which it has not been recorded (see PR 70539). >How-To-Repeat: Install linux_base-8 and any Linux software which uses the dynamic X libraries. >Fix: Index: bsd.port.mk =================================================================== RCS file: /home/ncvs/ports/Mk/bsd.port.mk,v retrieving revision 1.501 diff -u -r1.501 bsd.port.mk --- bsd.port.mk 9 Dec 2004 21:44:48 -0000 1.501 +++ bsd.port.mk 20 Dec 2004 11:58:12 -0000 @@ -344,6 +344,7 @@ # USE_LINUX - Set to yes to say the port needs emulators/linux_base. # USE_LINUX_PREFIX # - controls the action of PREFIX (see above). +# USE_LINUX_X11 - Set to yes to use x11/linux-XFree86-libs. ## # USE_MYSQL - Add MySQL client dependency. # If no version is given (by the maintainer via the port or @@ -1483,6 +1484,10 @@ RUN_DEPENDS+= ${LINUXBASE}/etc/redhat-release:${PORTSDIR}/emulators/linux_base .endif +.if defined(USE_LINUX_X11) +RUN_DEPENDS+= ${LINUXBASE}/usr/X11R6/lib/libX11.so.6:${PORTSDIR}/x11/linux-XFree86-libs +.endif + .if defined(USE_MOTIF) USE_XPM= yes .if defined(WANT_LESSTIF) >Release-Note: >Audit-Trail: >Unformatted: