From owner-freebsd-ports@FreeBSD.ORG Tue Feb 15 21:18:39 2005 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DCF6416A4CE; Tue, 15 Feb 2005 21:18:39 +0000 (GMT) Received: from bloodwood.hunterlink.net.au (smtp-local.hunterlink.net.au [203.12.144.17]) by mx1.FreeBSD.org (Postfix) with ESMTP id 64C5643D39; Tue, 15 Feb 2005 21:18:38 +0000 (GMT) (envelope-from boris@brooknet.com.au) Received: from ppp2BFA.dyn.pacific.net.au (ppp2BFA.dyn.pacific.net.au [61.8.43.250])j1FLIXDX010878; Wed, 16 Feb 2005 08:18:35 +1100 From: Sam Lawrance To: Adam Weinberger In-Reply-To: <42126629.5040901@FreeBSD.org> References: <187202EEF5C5C15CD93C03F9@utd49554.utdallas.edu> <42126629.5040901@FreeBSD.org> Content-Type: text/plain Date: Wed, 16 Feb 2005 08:19:37 +1100 Message-Id: <1108502377.686.9.camel@dirk.no.domain> Mime-Version: 1.0 X-Mailer: Evolution 2.0.1FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit cc: ports@freebsd.org cc: Paul Schmehl Subject: Re: Can't figure out the right syntax X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Feb 2005 21:18:40 -0000 On Tue, 2005-02-15 at 16:14 -0500, Adam Weinberger wrote: > Paul Schmehl wrote: > > I'm trying to create a port that requires the devel/tcllib port. I > > can't figure out the syntax to use to find the port if it's installed. > > > > tcllib:${PORTSDIR}/devel/tcllib > > > > I've tried tcllib84.so:, lib84.so:, libtcl:, pkgIndex.tcl, and several > > other things. The only tcllib I can find is in: > > /usr/X11R6/lib/X11/XF86Setup/tcllib > > > > I tried both ${X11_BASE}/lib/X11/XFree86Setup/tcllib and > > ${MOTIFLIB}/X11/XFree86Setup/tcllib. > > > > Nothing works. What am I missing? > > > > What would be the syntax for that? > > BUILD_DEPENDS= dtplite:${PORTSDIR}/devel/tcllib And you'll probably need to RUN_DEPENDS on that as well. Read the *_DEPENDS parts at the top of bsd.port.mk for more of an idea how they work. Cheers, Sam