From owner-freebsd-ports Wed Jan 5 8:10: 5 2000 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 762281539A for ; Wed, 5 Jan 2000 08:10:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id IAA02631; Wed, 5 Jan 2000 08:10:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from eterna.binary.net (eterna.binary.net [12.13.84.6]) by hub.freebsd.org (Postfix) with ESMTP id BD22314F31 for ; Wed, 5 Jan 2000 08:04:24 -0800 (PST) (envelope-from nathan@rtfm.net) Received: from matrix.binary.net (root@matrix.binary.net [12.13.120.2]) by eterna.binary.net (8.9.1a/8.9.1) with ESMTP id KAA42569 for ; Wed, 5 Jan 2000 10:04:24 -0600 (CST) Received: (from nathan@localhost) by matrix.binary.net (8.9.3/8.9.1) id KAA53259; Wed, 5 Jan 2000 10:04:50 -0600 (CST) Message-Id: <200001051604.KAA53259@matrix.binary.net> Date: Wed, 5 Jan 2000 10:04:50 -0600 (CST) From: nathan@rtfm.net To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/15910: [PATCH] Only use Tk support if X11 is installed Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 15910 >Category: ports >Synopsis: [PATCH] Only use Tk support if X11 is installed >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Jan 5 08:10:01 PST 2000 >Closed-Date: >Last-Modified: >Originator: Nathan Dorfman >Release: FreeBSD 3.4-STABLE i386 (as of Jan 4 2000) >Organization: >Environment: Any system without X11 installed. >Description: o a port (www/adzapper, for example) depends on python. o python has optional tk support, but depends on tk by default. o tk depends on X11 (naturally). >How-To-Repeat: o cd /usr/ports/www/adzapper o watch the port try to pull in and build X11 >Fix: --- Makefile.orig Wed Jan 5 15:56:23 2000 +++ Makefile Wed Jan 5 15:57:02 2000 @@ -32,9 +32,11 @@ SETUP_FILE= Setup # -# Support for Tk is compiled in by default. +# Support for Tk is compiled in by default only if X11 is installed. # +.if exists(${X11_BASE}) WITH_TK?= yes +.endif .if defined(WITH_TK) && $(WITH_TK) == yes TK_DEPENDS= tk82.1:${PORTSDIR}/x11-toolkits/tk82 SETUP_LOCAL= Setup.tk >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message