From owner-freebsd-ports@FreeBSD.ORG Sun Aug 22 00:57:19 2004 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 4308F16A4CE for ; Sun, 22 Aug 2004 00:57:19 +0000 (GMT) Received: from mxout5.cac.washington.edu (mxout5.cac.washington.edu [140.142.32.135]) by mx1.FreeBSD.org (Postfix) with ESMTP id 13AA443D1F for ; Sun, 22 Aug 2004 00:57:19 +0000 (GMT) (envelope-from dsyphers@u.washington.edu) Received: from smtp.washington.edu (smtp.washington.edu [140.142.32.139]) ESMTP id i7M0vI4w020827; Sat, 21 Aug 2004 17:57:18 -0700 Received: from [192.168.1.104] (c-24-18-235-11.client.comcast.net [24.18.235.11]) (authenticated bits=0)i7M0vIKZ017273 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT); Sat, 21 Aug 2004 17:57:18 -0700 From: David Syphers To: Ion-Mihai Tetcu Date: Sat, 21 Aug 2004 17:57:25 -0700 User-Agent: KMail/1.6.2 References: <200408211717.00316.dsyphers@u.washington.edu> <20040822035125.25ed2cc8@it.buh.tecnik93.com> In-Reply-To: <20040822035125.25ed2cc8@it.buh.tecnik93.com> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200408211757.25650.dsyphers@u.washington.edu> cc: freebsd-ports@freebsd.org Subject: Re: newbie porter questions 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: Sun, 22 Aug 2004 00:57:19 -0000 On Saturday 21 August 2004 05:51 pm, Ion-Mihai Tetcu wrote: > On Sat, 21 Aug 2004 17:17:00 -0700 > > First, I have a script that does the installation. I call it with a > > do-install in the Makefile, '@(cd ${SCRIPTDIR} && ./mod_install)'. > > Is this really necessarily ? I'm not sure... I decided to use the original install script and just modify it, but now that I have a better idea of what's going on, I may just not use it at all. > > Lastly, I've modified the install scripts that come with the program > > so that they're no longer interactive. However, they become > > interactive if there's a failure - rather than just fail, they try to > > get useful input from the user so they can continue. In this case, > > should I define IS_INTERACTIVE? If I do, but want to enable package > > builds, what's the right way of doing: > > > > .if (!defined(PACKAGE_BUILDING)) > > IS_INTERACTIVE= yes > > .endif > > > > The code is wrong, of course, but I don't know what the right way is. > > I assume it's obvious to humans what I'm trying to do, if not > > computers... > > Should work without parenthesis. On the other hand it shouldn't fail :) Fails with: "Makefile", line 19: Unassociated shell command "IS_INTERACTIVE= yes" make: fatal errors encountered -- cannot continue > What port is it ? Two, actually: IRAF (http://iraf.noao.edu) and X11IRAF. Thanks for the help. -David -- +++ Divide By Cucumber Error. Please Reinstall Universe And Reboot. +++