1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-01 12:19:28 +00:00

Make cvsbug(1) actually work instead of aborting due to missing configure

script substitution markers.
This commit is contained in:
Peter Wemm 2004-09-28 21:19:31 +00:00
parent 92ae313d8e
commit 5c1d217420
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=135909

View File

@ -16,6 +16,11 @@ CLEANFILES+= cvsbug
cvsbug: cvsbug.in
version=`sed < ${CVSDIR}/configure \
-e '/^[ ]*VERSION=/!d' -e 's/.*=["'\'']\{0,1\}\([^"'\'']*\)["'\'']\{0,1\}/\1/' -e q`; \
sed -e "s,@VERSION@,$${version}-FreeBSD,g" ${.ALLSRC} > ${.TARGET}
sed -e "s,@VERSION@,$${version}-FreeBSD,g" \
-e "s,@MKTEMP@,/usr/bin/mktemp,g" \
-e "s,@PACKAGE_BUGREPORT@,bug-cvs@gnu.org,g" \
-e "s,@SENDMAIL@,/usr/sbin/sendmail,g" \
-e "s,@MKTEMP_FUNCTION@,," \
${.ALLSRC} > ${.TARGET}
.include <bsd.prog.mk>