Module Name:    src
Committed By:   snj
Date:           Tue Dec 29 06:00:35 UTC 2009

Modified Files:
        src/external/gpl2/xcvs/bin/cvsbug: Makefile

Log Message:
Properly replace @MKTEMP_SH_FUNCTION@, @MKTEMP@, and @sendm...@.
Fixes PR bin/39629.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/external/gpl2/xcvs/bin/cvsbug/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl2/xcvs/bin/cvsbug/Makefile
diff -u src/external/gpl2/xcvs/bin/cvsbug/Makefile:1.1 src/external/gpl2/xcvs/bin/cvsbug/Makefile:1.2
--- src/external/gpl2/xcvs/bin/cvsbug/Makefile:1.1	Wed Apr  8 16:27:51 2009
+++ src/external/gpl2/xcvs/bin/cvsbug/Makefile	Tue Dec 29 06:00:35 2009
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.1 2009/04/08 16:27:51 christos Exp $
+#	$NetBSD: Makefile,v 1.2 2009/12/29 06:00:35 snj Exp $
 
 .include "${.CURDIR}/../../Makefile.inc"
 
@@ -12,7 +12,10 @@
 cvsbug: cvsbug.in
 	${_MKTARGET_CREATE}
 	${TOOL_SED} -e 's,@PACKAGE_BUGREPORT@,[email protected],g' \
-	    -e "s,@VERSION@,`cat .fname`,g" ${.ALLSRC} > ${.TARGET}
+	    -e "s,@VERSION@,`cat .fname`,g" \
+	    -e "s,@MKTEMP_SH_FUNCTION@,," \
+	    -e "s,@MKTEMP@,/usr/bin/mktemp," \
+	    -e "s,@SENDMAIL@,/usr/sbin/sendmail," ${.ALLSRC} > ${.TARGET}
 	chmod a+x ${.TARGET}
 
 cvsbug: .fname

Reply via email to