From owner-freebsd-ports Tue Dec 29 05:45:12 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA01329 for freebsd-ports-outgoing; Tue, 29 Dec 1998 05:45:12 -0800 (PST) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: from hp9000.chc-chimes.com (hp9000.chc-chimes.com [206.67.97.84]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA01324 for ; Tue, 29 Dec 1998 05:45:10 -0800 (PST) (envelope-from billf@chc-chimes.com) Received: from localhost by hp9000.chc-chimes.com with SMTP (1.39.111.2/16.2) id AA276417980; Tue, 29 Dec 1998 02:53:00 -0500 Date: Tue, 29 Dec 1998 02:53:00 -0500 (EST) From: Bill Fumerola To: Kris Kennaway Cc: ports@FreeBSD.ORG Subject: Re: How to depend on source for building? In-Reply-To: Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, 29 Dec 1998, Kris Kennaway wrote: > A port I'm working on (iTCL 3.0.1) depends on the source code for TCL 8.0 > to compile - i.e. it's basically a TCL 8.0 extension and needs access to the > source code to compile itself. How can I achieve this in the port skeleton? > The TCL 8.0 port is a build-time dependency (libtcl80.so, etc), but it also > needs to have the source tree extracted in /usr/ports. I could add the > tcl8.0.4.tar.gz distfile to DISTFILES and have it unpacked it in itcl/work, > but that seems like a waste of space (and not to mention I'd have to hack the > build process which looks for > TCL_SRC_DIR='/usr2/ports/lang/tcl80/work/tcl8.0.4' in tclConfig.sh). BUILD_DEPENDS= /nonexistant:${PORTSDIR}/lang/tcl80:patch TCL_SRC_DIR= ${PORTSDIR}/lang/tcl80/work/tcl8.0.4 This may not obey Satoshi's readonly requirements though.. - bill fumerola - billf@chc-chimes.com - BF1560 - computer horizons corp - - ph:(800) 252-2421 - bfumerol@computerhorizons.com - billf@FreeBSD.org - To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message