summaryrefslogtreecommitdiff
path: root/www/tcl-cgi/patches
diff options
context:
space:
mode:
authorbouyer <bouyer>2002-11-20 15:57:36 +0000
committerbouyer <bouyer>2002-11-20 15:57:36 +0000
commit4b05c429be7243a2694df4a5d63b2da107458e29 (patch)
treeb803dcd55c2d7c881b1ec488821930e30a712ae4 /www/tcl-cgi/patches
parentf08d1dae788ef412831741797c090d031d155408 (diff)
downloadpkgsrc-4b05c429be7243a2694df4a5d63b2da107458e29.tar.gz
When testing if /usr/sbin/sendmail exists, don't try do use /usr/lib/sendmail
when it does.
Diffstat (limited to 'www/tcl-cgi/patches')
-rw-r--r--www/tcl-cgi/patches/patch-aa5
1 files changed, 3 insertions, 2 deletions
diff --git a/www/tcl-cgi/patches/patch-aa b/www/tcl-cgi/patches/patch-aa
index 6c46ff11203..cacd1649f9a 100644
--- a/www/tcl-cgi/patches/patch-aa
+++ b/www/tcl-cgi/patches/patch-aa
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.3 2000/09/03 14:55:20 wiz Exp $
+$NetBSD: patch-aa,v 1.4 2002/11/20 15:57:37 bouyer Exp $
--- cgi.tcl.in.orig Wed Aug 30 11:07:29 2000
+++ cgi.tcl.in Wed Aug 30 11:08:26 2000
@@ -2040,7 +2040,7 @@
@@ -7,7 +7,8 @@ $NetBSD: patch-aa,v 1.3 2000/09/03 14:55:20 wiz Exp $
- if {[file executable /usr/lib/sendmail]} {
+ if {[file executable /usr/sbin/sendmail]} {
- exec /usr/lib/sendmail -t -odb < $_cgi(mailfile)
+- exec /usr/lib/sendmail -t -odb < $_cgi(mailfile)
++ exec /usr/sbin/sendmail -t -odb < $_cgi(mailfile)
# Explanation:
# -t means: pick up recipient from body
@@ -2056,6 +2056,9 @@