conf/127471: installworld fails if install-info is missing (WITHOUT_INFO=yes)

Bertrand Yvain pnl at hithlum.adm.ielo.net
Thu Sep 18 16:00:23 UTC 2008


The following reply was made to PR misc/127471; it has been noted by GNATS.

From: Bertrand Yvain <pnl at hithlum.adm.ielo.net>
To: bug-followup at FreeBSD.org, pnl at hithlum.adm.ielo.net
Cc:  
Subject: Re: conf/127471: installworld fails if install-info is missing
	(WITHOUT_INFO=yes)
Date: Thu, 18 Sep 2008 17:36:54 +0200

 --h31gzZEtNLTqOjlF
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 
 Suboptimal patch, this one is obviously less stupid.
 
 --h31gzZEtNLTqOjlF
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: attachment; filename="patch.txt"
 
 --- Makefile.inc1.orig	2008-09-18 17:34:20.000000000 +0200
 +++ Makefile.inc1	2008-09-18 17:35:24.000000000 +0200
 @@ -596,11 +596,11 @@
  #
  distributeworld installworld: installcheck
  	mkdir -p ${INSTALLTMP}
 -	for prog in [ awk cap_mkdb cat chflags chmod chown \
 +	which [ awk cap_mkdb cat chflags chmod chown \
  	    date echo egrep find grep install-info \
  	    ln lockf make mkdir mtree mv pwd_mkdb rm sed sh sysctl \
 -	    test true uname wc zic; do \
 -		cp `which $$prog` ${INSTALLTMP}; \
 +	    test true uname wc zic | while read prog; do \
 +		cp $$prog ${INSTALLTMP}; \
  	done
  	${_+_}cd ${.CURDIR}; ${IMAKE} re${.TARGET:S/world$//}
  	rm -rf ${INSTALLTMP}
 
 --h31gzZEtNLTqOjlF--


More information about the freebsd-bugs mailing list