From owner-freebsd-ports Tue Dec 29 03:17:16 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA18732 for freebsd-ports-outgoing; Tue, 29 Dec 1998 03:17:16 -0800 (PST) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: from adelphi.physics.adelaide.edu.au (adelphi.physics.adelaide.edu.au [129.127.36.247]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA18727 for ; Tue, 29 Dec 1998 03:17:13 -0800 (PST) (envelope-from kkennawa@physics.adelaide.edu.au) Received: from bragg (bragg [129.127.36.34]) by adelphi.physics.adelaide.edu.au (8.8.8/8.8.8/UofA-1.5) with SMTP id VAA09784 for ; Tue, 29 Dec 1998 21:46:55 +1030 (CST) Received: from localhost by bragg; (5.65/1.1.8.2/05Aug95-0227PM) id AA08536; Tue, 29 Dec 1998 21:46:54 +1030 Date: Tue, 29 Dec 1998 21:46:54 +1030 (CST) From: Kris Kennaway X-Sender: kkennawa@bragg To: ports@FreeBSD.ORG Subject: How to depend on source for building? 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 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). Any ideas? Kris ----- (ASP) Microsoft Corporation (MSFT) announced today that the release of its productivity suite, Office 2000, will be delayed until the first quarter of 1901. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message