Module Name:    src
Committed By:   bouyer
Date:           Sat Jan 16 17:27:39 UTC 2010

Modified Files:
        src/gnu/usr.bin/xcvs/cvsbug [netbsd-5-0]: Makefile

Log Message:
Apply patch, requested by snj in ticket #1215:
        gnu/usr.bin/xcvs/cvsbug/Makefile: patch
Properly replace @MKTEMP_SH_FUNCTION@, @MKTEMP@, and @sendm...@.
Fixes PR bin/39629.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.2.6.1 src/gnu/usr.bin/xcvs/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/gnu/usr.bin/xcvs/cvsbug/Makefile
diff -u src/gnu/usr.bin/xcvs/cvsbug/Makefile:1.2 src/gnu/usr.bin/xcvs/cvsbug/Makefile:1.2.6.1
--- src/gnu/usr.bin/xcvs/cvsbug/Makefile:1.2	Sat Oct 25 22:27:35 2008
+++ src/gnu/usr.bin/xcvs/cvsbug/Makefile	Sat Jan 16 17:27:38 2010
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.2 2008/10/25 22:27:35 apb Exp $
+#	$NetBSD: Makefile,v 1.2.6.1 2010/01/16 17:27:38 bouyer Exp $
 
 .include "${.CURDIR}/../Makefile.inc"
 
@@ -12,7 +12,10 @@
 cvsbug: cvsbug.in
 	${_MKTARGET_CREATE}
 	${TOOL_SED} -e 's,@PACKAGE_BUGREPORT@,bug-...@gnu.org,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