ports/mail/procmail-bgrb/files/patch-src-autoconf
Cy Schubert 3038d6005b mail/procmail-bgrb: New port
mail/procmail-bgrb is a new port tracking the BuGlessRB fork of
procmail (which hasn't been updated for over 20 years).
The commits to BuGlessRB/procmail appear be by the original author
of procmail. Wikipedia documents that the upstream for this port is
its repo.

As this upstream is in active development and the original procmail on
sourceforge is defunct, we may wish to consider merging or replacing
mail/procmail with this port at some point.

Reported by:	Lucas Holt at midnightbsd.org (on Twitter)
2022-04-17 11:41:00 -07:00

32 lines
658 B
Text

--- src/autoconf.orig 2001-09-10 21:55:46.000000000 -0700
+++ src/autoconf 2010-12-23 11:53:07.000000000 -0800
@@ -230,7 +230,8 @@
echo ""
if test -z "$LOCKINGTEST"
then
- read b
+ #read b
+ b=""
elif test dummy = "$LOCKINGTEST"
then
b=""
@@ -977,6 +978,7 @@
echo 'Checking realloc implementation'
+$RM -f _autotst
if $MAKE _autotst >$DEVNULL 2>&1
test -f _autotst
then
@@ -1491,6 +1493,11 @@
fi
done
+case ":$lpath:" in
+ *:/usr/local/bin:*) ;;
+ *) lpath="$lpath:/usr/local/bin" ;;
+esac
+
echo "#define defPATH \"PATH=\$HOME/bin:$lpath\"" >>$ACONF
echo "#define defSPATH \"PATH=$lpath\"" >>$ACONF