diff options
author | steve <steve@FreeBSD.org> | 1998-02-26 11:35:10 +0800 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 1998-02-26 11:35:10 +0800 |
commit | 36705a4884cc83f20612f215fbc8e52f5045a675 (patch) | |
tree | 501684a9e81bce769d01e8639ac0e4c70cd39a4e | |
parent | c87edabd8ebfb36818e60b264d88b301c994a348 (diff) | |
download | freebsd-ports-gnome-36705a4884cc83f20612f215fbc8e52f5045a675.tar.gz freebsd-ports-gnome-36705a4884cc83f20612f215fbc8e52f5045a675.tar.zst freebsd-ports-gnome-36705a4884cc83f20612f215fbc8e52f5045a675.zip |
Don't try to look for the formail program, since it may fail if
procmail is not present.
Submitted by: Brett Taylor <brett@peloton.physics.montana.edu>
-rw-r--r-- | misc/dotfile/files/patch-ac | 19 | ||||
-rw-r--r-- | misc/dotfile/files/patch-ad | 53 |
2 files changed, 66 insertions, 6 deletions
diff --git a/misc/dotfile/files/patch-ac b/misc/dotfile/files/patch-ac index f61e160deb84..1a6401a8c10f 100644 --- a/misc/dotfile/files/patch-ac +++ b/misc/dotfile/files/patch-ac @@ -1,7 +1,7 @@ -*** Modules/procmail/configure.in.orig Sat Feb 21 15:20:04 1998 ---- Modules/procmail/configure.in Sat Feb 21 15:20:19 1998 +*** Modules/procmail/configure.in.orig Sun Dec 21 07:40:33 1997 +--- Modules/procmail/configure.in Wed Feb 25 17:24:18 1998 *************** -*** 13,19 **** +*** 13,27 **** echo "----------------------------------------------------------------------" @@ -9,7 +9,15 @@ if test "$TCLSH" = no; then AC_MSG_ERROR(I couldn't find 'tclsh' please insert it into your pa th and try again) ---- 13,19 ---- +- fi +- +- AC_PATH_PROGS(FORMAIL, formail,) +- if test "$FORMAIL" = ""; then +- AC_MSG_ERROR(I couldn't find the program formail, it should be in the procmail distribution. Please insert it into the path.) + fi + + AC_PATH_PROGS(SED,sed,) +--- 13,22 ---- echo "----------------------------------------------------------------------" @@ -17,3 +25,6 @@ if test "$TCLSH" = no; then AC_MSG_ERROR(I couldn't find 'tclsh' please insert it into your pa th and try again) + fi + + AC_PATH_PROGS(SED,sed,) diff --git a/misc/dotfile/files/patch-ad b/misc/dotfile/files/patch-ad index eba86e8e2333..79846373aabb 100644 --- a/misc/dotfile/files/patch-ad +++ b/misc/dotfile/files/patch-ad @@ -1,5 +1,5 @@ -*** Modules/procmail/configure.orig Sun Dec 21 06:40:33 1997 ---- Modules/procmail/configure Sun Feb 22 18:11:20 1998 +*** Modules/procmail/configure.orig Sun Dec 21 07:40:33 1997 +--- Modules/procmail/configure Wed Feb 25 17:27:59 1998 *************** *** 519,537 **** @@ -29,3 +29,52 @@ do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 +*************** +*** 571,616 **** + if test "$TCLSH" = no; then + { echo "configure: error: I couldn't find 'tclsh' please insert it into your pa + th and try again" 1>&2; exit 1; } +- fi +- +- for ac_prog in formail +- do +- # Extract the first word of "$ac_prog", so it can be a program name with args. +- set dummy $ac_prog; ac_word=$2 +- echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 +- echo "configure:582: checking for $ac_word" >&5 +- if eval "test \"`echo '$''{'ac_cv_path_FORMAIL'+set}'`\" = set"; then +- echo $ac_n "(cached) $ac_c" 1>&6 +- else +- case "$FORMAIL" in +- /*) +- ac_cv_path_FORMAIL="$FORMAIL" # Let the user override the test with a path. +- ;; +- *) +- IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" +- for ac_dir in $PATH; do +- test -z "$ac_dir" && ac_dir=. +- if test -f $ac_dir/$ac_word; then +- ac_cv_path_FORMAIL="$ac_dir/$ac_word" +- break +- fi +- done +- IFS="$ac_save_ifs" +- ;; +- esac +- fi +- FORMAIL="$ac_cv_path_FORMAIL" +- if test -n "$FORMAIL"; then +- echo "$ac_t""$FORMAIL" 1>&6 +- else +- echo "$ac_t""no" 1>&6 +- fi +- +- test -n "$FORMAIL" && break +- done +- +- if test "$FORMAIL" = ""; then +- { echo "configure: error: I couldn't find the program formail" 1>&2; exit 1; } + fi + + for ac_prog in sed +--- 559,564 ---- |