Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Dec 1998 02:53:00 -0500 (EST)
From:      Bill Fumerola <billf@chc-chimes.com>
To:        Kris Kennaway <kkennawa@physics.adelaide.edu.au>
Cc:        ports@FreeBSD.ORG
Subject:   Re: How to depend on source for building?
Message-ID:  <Pine.HPP.3.96.981229025119.26760E-100000@hp9000.chc-chimes.com>
In-Reply-To: <Pine.OSF.4.05.9812292140080.12902-100000@bragg>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.HPP.3.96.981229025119.26760E-100000>