Make cvsbug(1) actually work instead of aborting due to missing configure
script substitution markers.
This commit is contained in:
parent
92ae313d8e
commit
5c1d217420
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user