Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Jun 2006 21:20:30 -0400
From:      "Brandon S. Allbery KF8NH" <allbery@ece.cmu.edu>
To:        Randy Pratt <bsd-unix@earthlink.net>
Cc:        matthias.andree@gmx.de, Garance A Drosihn <drosih@rpi.edu>, freebsd-ports@freebsd.org
Subject:   Re: Long-standing portupgrade vs. make config issue
Message-ID:  <A053A566-BC73-4775-9DEE-751840AF6D5C@ece.cmu.edu>
In-Reply-To: <20060608192333.e23505d6.bsd-unix@earthlink.net>
References:  <m3mzcnx3jf.fsf@merlin.emma.line.org> <p0623092fc0ae00924bc0@[128.113.24.47]> <20060608192333.e23505d6.bsd-unix@earthlink.net>

next in thread | previous in thread | raw e-mail | index | archive | help

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






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?A053A566-BC73-4775-9DEE-751840AF6D5C>