From owner-freebsd-ports@FreeBSD.ORG Fri Jun 9 01:45:51 2006 Return-Path: X-Original-To: freebsd-ports@freebsd.org 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 1E12A16A41A for ; Fri, 9 Jun 2006 01:45:51 +0000 (UTC) (envelope-from boris@brooknet.com.au) Received: from jay.exetel.com.au (jay.exetel.com.au [220.233.0.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id 530DF43D73 for ; Fri, 9 Jun 2006 01:45:49 +0000 (GMT) (envelope-from boris@brooknet.com.au) Received: (qmail 1601 invoked by uid 507); 9 Jun 2006 11:39:08 +1000 Received: from 180.205.233.220.exetel.com.au (HELO ?192.168.0.157?) (220.233.205.180) by jay.exetel.com.au with SMTP; 9 Jun 2006 11:39:08 +1000 In-Reply-To: <20060608192333.e23505d6.bsd-unix@earthlink.net> References: <20060608192333.e23505d6.bsd-unix@earthlink.net> Mime-Version: 1.0 (Apple Message framework v750) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <96DAFC82-F1E7-4B22-9495-D844F4E4D3CD@brooknet.com.au> Content-Transfer-Encoding: 7bit From: Sam Lawrance Date: Fri, 9 Jun 2006 11:39:02 +1000 To: Randy Pratt X-Mailer: Apple Mail (2.750) Cc: matthias.andree@gmx.de, Garance A Drosihn , freebsd-ports@freebsd.org Subject: Re: Long-standing portupgrade vs. make config issue X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Jun 2006 01:45:51 -0000 On 09/06/2006, at 9:23 AM, Randy Pratt wrote: > On Thu, 8 Jun 2006 12:35:42 -0400 > Garance A Drosihn wrote: > >> I have never been prompted twice for a given set of >> options. I do, at times, get prompted for the options >> of one port, answer that screen and walk away, only to >> later see that I was also prompted for the options of >> some other port. > > I got tired of these silent screens and added an audible sound > warning to /usr/ports/Mk/bsd.port.mk : > > --- Mk/bsd.port.mk.original Mon May 29 22:04:13 2006 > +++ Mk/bsd.port.mk Mon May 29 22:06:06 2006 > @@ -5281,6 +5281,7 @@ > shift 3; \ > done; \ > TMPOPTIONSFILE=$$(mktemp -t portoptions); \ > + /usr/local/bin/play /home/rpratt/sounds/montymes.wav; \ > trap "${RM} -f $${TMPOPTIONSFILE}; exit 1" 1 2 3 5 10 13 15; \ > ${SH} -c "${DIALOG} --checklist \"Options for ${PKGNAME:C/-([^-] > +)$/ > \1/}\" 21 70 15 $${DEFOPTIONS} 2> $${TMPOPTIONSFILE}"; \ > status=$$?; \ > > It has to be patched each time the ports tree is cvsupped and it > may not be the best place to do it but it seems to work (for me). > > It could be much better written with a call to an external script > with more options and eliminate hard-coded values. It probably > causes ozone depletion and other scary things. YMMV. > > I'm almost sure something like this will never get officially added > since its probably considered bloat. At least I'm not wasting > hours of build time not knowing I need to push a button. Some terminal programs have a "monitor for silence" function which can produce an audible alert. KDE's terminal could do it last time I looked. I can't recall any others.