From owner-freebsd-ports@FreeBSD.ORG Wed Feb 16 15:54:26 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 1049E16A4CE for ; Wed, 16 Feb 2005 15:54:26 +0000 (GMT) Received: from smtp1.utdallas.edu (smtp1.utdallas.edu [129.110.10.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id A857043D5F for ; Wed, 16 Feb 2005 15:54:25 +0000 (GMT) (envelope-from pauls@utdallas.edu) Received: from utd49554 (utd49554.utdallas.edu [129.110.3.85]) by smtp1.utdallas.edu (Postfix) with ESMTP id 57049388FA6 for ; Wed, 16 Feb 2005 09:54:25 -0600 (CST) Date: Wed, 16 Feb 2005 09:54:25 -0600 From: Paul Schmehl To: ports@freebsd.org Message-ID: <223BF64DCA8FD436A0BC6F52@utd49554.utdallas.edu> In-Reply-To: <1108514045.686.27.camel@dirk.no.domain> References: <1108514045.686.27.camel@dirk.no.domain> X-Mailer: Mulberry/3.1.6 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Re: mysqltcl X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Paul Schmehl List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Feb 2005 15:54:26 -0000 --On Wednesday, February 16, 2005 11:34:05 AM +1100 Sam Lawrance wrote: > > Be careful. If you only use RUN_DEPENDS, make sure your port can be > built without tcllib installed (because RUN_DEPENDS are checked and > installed after the build). > The port doesn't build. It's strictly a copy operation. However, there's a boatload of dependencies. Using RUN_DEPENDS, the dependencies failed to install. I changed to BUILD_DEPENDS and now everything installs before the port I'm creating installs. I created another port on 4.9, and RUN_DEPENDS worked fine. I'm creating this port on 5.3, and it doesn't. Did something change? > > What they look for and how they look for it depends on the type of > dependency. The porter's handbook at > http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook has a > reasonably extensive explanation. > > When you are trying to find the right file or library name to use in > your _DEPENDS variable, look through the pkg-plist of the dependency to > see what it installs. > > ports/Mk/bsd.port.mk has all the answers, even if you have to read for a > while before you get to them. > I've been studying both the Porter's Handbook and bsd.port.mk, and I'm still not clear on a lot of stuff. I've figured out how to get BUILD_DEPENDS to work, but LIB_DEPENDS is a mystery to me. I've been getting things working by trial and error, but that's a frustrating process. Another question - is there a way to say "Use this version or better"? For example, one port I've submitted requires *at least* autoconf 2.95. Is there a way to say use 2.95 or better? Or rather not restrict the port to one version and force an install if someone is using a newer version of autoconf. Paul Schmehl (pauls@utdallas.edu) Adjunct Information Security Officer The University of Texas at Dallas AVIEN Founding Member http://www.utdallas.edu