From owner-freebsd-ports Tue Jan 27 12:10:28 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA28123 for freebsd-ports-outgoing; Tue, 27 Jan 1998 12:10:28 -0800 (PST) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: from ppp1580.on.bellglobal.com (ppp1580.on.bellglobal.com [206.172.249.44]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA27958 for ; Tue, 27 Jan 1998 12:09:58 -0800 (PST) (envelope-from ac199@hwcn.org) Received: from localhost (tim@localhost) by ppp6563.on.bellglobal.com (8.8.8/8.8.8) with SMTP id OAA02161; Tue, 27 Jan 1998 14:48:45 -0500 (EST) (envelope-from ac199@hwcn.org) X-Authentication-Warning: ppp6563.on.bellglobal.com: tim owned process doing -bs Date: Tue, 27 Jan 1998 14:48:45 -0500 (EST) From: Tim Vanderhoek X-Sender: tim@localhost Reply-To: ac199@hwcn.org To: "Stephen J. Roznowski" cc: lpr@istari.home.net, ports@FreeBSD.ORG Subject: Re: Questions on making a port In-Reply-To: <199801270143.UAA01421@istari.home.net> 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 Mon, 26 Jan 1998, Stephen J. Roznowski wrote: > I'm trying to build a port for trn4 and have a few questions: I'm not familiar with trn. If we already have a trn port in the portstree, there needs to be a good reason for introducing a version-specific port; otherwise, just talk to the maintainer of the existing trn and ask that it be updated, offering your update. > 1. What is the preferred method for running Configure? > I'm currently using: > > CONFIGURE_SCRIPT= Configure > CONFIGURE_ARGS= -sde -Dprefix=${PREFIX} If this does what you want, then use it. In general, it is preferrable to make adjustments to the port Makefile instead of creating more patches/, scripts/, or files/. But use judgement. :) [You also need to define HAS_CONFIGURE, of course] > 2. While running the Configure script, I still get prompted > to answer a question (Organization)....Should I just > create a patchfile to have a default answer? If necessary, you can define IS_INTERACTIVE. "Organization" is probably sufficiently trivial that you can supply a default answer through a patchfile. > 3. Normally, the make installs trn, I want to change this > to trn4. Is there a preferred method? If the trn Makefile is well-written, you may be able to do this by setting MAKE_ENV. It may be necessary to use a patch. -- tIM...HOEk OPTIMIZATION: the process of using many one-letter variables names hoping that the resultant code will run faster.