From owner-freebsd-ports@FreeBSD.ORG Fri Jun 9 01:21:01 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 D3B8116A41F for ; Fri, 9 Jun 2006 01:21:01 +0000 (UTC) (envelope-from allbery@ece.cmu.edu) Received: from bache.ece.cmu.edu (BACHE.ECE.CMU.EDU [128.2.129.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5D00E43DA6 for ; Fri, 9 Jun 2006 01:20:34 +0000 (GMT) (envelope-from allbery@ece.cmu.edu) Received: from [10.9.204.128] (dsl093-061-215.pit1.dsl.speakeasy.net [66.93.61.215]) by bache.ece.cmu.edu (Postfix) with ESMTP id CEB9233; Thu, 8 Jun 2006 21:20:32 -0400 (EDT) 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: Content-Transfer-Encoding: 7bit From: "Brandon S. Allbery KF8NH" Date: Thu, 8 Jun 2006 21:20:30 -0400 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:21:01 -0000 On Jun 8, 2006, at 7:23 , Randy Pratt wrote: > I got tired of these silent screens and added an audible sound > warning to /usr/ports/Mk/bsd.port.mk : > > + /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}"; \ Seems to me you could just specify your own value for $DIALOG which invokes a wrapper to do some kind of notification. That might be doable in /etc/make.conf, thus you wouldn't need to patch. -- brandon s. allbery [linux,solaris,freebsd,perl] allbery@kf8nh.com system administrator [openafs,heimdal,too many hats] allbery@ece.cmu.edu electrical and computer engineering, carnegie mellon university KF8NH