Long-standing portupgrade vs. make config issue

Brandon S. Allbery KF8NH allbery at ece.cmu.edu
Fri Jun 9 01:21:01 UTC 2006


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 at kf8nh.com
system administrator  [openafs,heimdal,too many hats]   
allbery at ece.cmu.edu
electrical and computer engineering, carnegie mellon university       
KF8NH





More information about the freebsd-ports mailing list