1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00

Fix maildrop version detection

Reported by:	pav, erwin
Approved by:	lippe
This commit is contained in:
Renato Botelho 2009-07-04 12:38:23 +00:00
parent b143a17af5
commit 302764b2fe
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=237091

View File

@ -1,5 +1,5 @@
--- configure.old Tue Aug 14 13:03:10 2007
+++ configure Tue Aug 14 13:04:29 2007
--- configure.orig 2006-04-04 21:37:03.000000000 +0000
+++ configure 2009-07-04 12:37:16.225280000 +0000
@@ -1,13 +1,6 @@
#!/bin/sh
#
@ -23,3 +23,12 @@
QMAILDIR="/var/qmail"
BINDIR="$QMAILDIR/bin"
@@ -1276,7 +1269,7 @@
if [ "$MIME_UNPACKER" = "reformime" ]; then
#Check version of maildrop to ensure it's not the buggy version
-DD="`$MAILDROP_BINARY -v 2>&1|grep '^maildrop'|grep '1\.0'`"
+DD="`$MAILDROP_BINARY -v 2>&1|grep '^maildrop 1\.0'`"
if [ "$DD" != "" ]; then
cat<<EOF