diff options
Diffstat (limited to 'pkgs/servers/mail/postfix/postfix-2.2.9-db.patch')
-rw-r--r-- | pkgs/servers/mail/postfix/postfix-2.2.9-db.patch | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/pkgs/servers/mail/postfix/postfix-2.2.9-db.patch b/pkgs/servers/mail/postfix/postfix-2.2.9-db.patch new file mode 100644 index 000000000000..65f55ffd8f05 --- /dev/null +++ b/pkgs/servers/mail/postfix/postfix-2.2.9-db.patch @@ -0,0 +1,40 @@ +diff -ruN postfix-2.2.9/makedefs postfix-2.2.9.new/makedefs +--- postfix-2.2.9/makedefs 2006-01-03 21:50:25.000000000 +0000 ++++ postfix-2.2.9.new/makedefs 2006-03-11 00:38:30.000000000 +0000 +@@ -219,21 +219,21 @@ + ;; + Linux.2*) SYSTYPE=LINUX2 + # Postfix no longer needs DB 1.85 compatibility +- if [ -f /usr/include/db.h ] +- then +- : we are all set +- elif [ -f /usr/include/db/db.h ] +- then +- CCARGS="$CCARGS -I/usr/include/db" +- else +- # No, we're not going to try db1 db2 db3 etc. +- # On a properly installed system, Postfix builds +- # by including <db.h> and by linking with -ldb +- echo "No <db.h> include file found." 1>&2 +- echo "Install the appropriate db*-devel package first." 1>&2 +- echo "See the RELEASE_NOTES file for more information." 1>&2 +- exit 1 +- fi ++ #if [ -f /usr/include/db.h ] ++ #then ++ #: we are all set ++ #elif [ -f /usr/include/db/db.h ] ++ #then ++ #CCARGS="$CCARGS -I/usr/include/db" ++ #else ++ ## No, we're not going to try db1 db2 db3 etc. ++ ## On a properly installed system, Postfix builds ++ ## by including <db.h> and by linking with -ldb ++ #echo "No <db.h> include file found." 1>&2 ++ #echo "Install the appropriate db*-devel package first." 1>&2 ++ #echo "See the RELEASE_NOTES file for more information." 1>&2 ++ #exit 1 ++ #fi + # GDBM locks the DBM .pag file after open. This breaks postmap. + # if [ -f /usr/include/gdbm-ndbm.h ] + # then |