build-tools and sed

Daniel C. Sobral dcs at tcoip.com.br
Wed Jun 11 10:31:19 PDT 2003


Shouldn't sed be part of the build tools?

It's used in src//gnu/usr.bin/binutils/libbfd/Makefile, at the very least:

targmatch.h: targmatch.sed config.bfd
         sed -f ${.ALLSRC:M*.sed} ${.ALLSRC:M*.bfd} > ${.TARGET}

config.h: config.h.fbsd
.if ${TARGET_ARCH} == "i386"
         sed -e 's,!!TRAD_HEADER!!,"hosts/i386bsd.h",g' ${.ALLSRC} > 
${.TARGET}
.else
         sed -e 's,!!TRAD_HEADER!!,,g' ${.ALLSRC} > ${.TARGET}
.endif


Which was rather annoying when I got caught in the sed bug. Updating 
sources did not fix the problem, because it kept using the install sed...

-- 
Daniel C. Sobral                   (8-DCS)
Gerencia de Operacoes
Divisao de Comunicacao de Dados
Coordenacao de Seguranca
VIVO Centro Oeste Norte
Fones: 55-61-313-7654/Cel: 55-61-9618-0904
E-mail: Daniel.Capo at tco.net.br
         Daniel.Sobral at tcoip.com.br
         dcs at tcoip.com.br

Outros:
	dcs at newsguy.com
	dcs at freebsd.org
	capo at notorious.bsdconspiracy.net

May the Fleas of a Thousand Camels infest one of your Erogenous Zones.



More information about the freebsd-hackers mailing list