get postfix to build. Note: install still has to be done, but this will
probably be a bit tricky, due to sendmail "compatibility" (postfix makes
a symlink to "sendmail", so programs will keep on working).
···11+diff -ruN postfix-2.2.9/makedefs postfix-2.2.9.new/makedefs
22+--- postfix-2.2.9/makedefs 2006-01-03 21:50:25.000000000 +0000
33++++ postfix-2.2.9.new/makedefs 2006-03-11 00:38:30.000000000 +0000
44+@@ -219,21 +219,21 @@
55+ ;;
66+ Linux.2*) SYSTYPE=LINUX2
77+ # Postfix no longer needs DB 1.85 compatibility
88+- if [ -f /usr/include/db.h ]
99+- then
1010+- : we are all set
1111+- elif [ -f /usr/include/db/db.h ]
1212+- then
1313+- CCARGS="$CCARGS -I/usr/include/db"
1414+- else
1515+- # No, we're not going to try db1 db2 db3 etc.
1616+- # On a properly installed system, Postfix builds
1717+- # by including <db.h> and by linking with -ldb
1818+- echo "No <db.h> include file found." 1>&2
1919+- echo "Install the appropriate db*-devel package first." 1>&2
2020+- echo "See the RELEASE_NOTES file for more information." 1>&2
2121+- exit 1
2222+- fi
2323++ #if [ -f /usr/include/db.h ]
2424++ #then
2525++ #: we are all set
2626++ #elif [ -f /usr/include/db/db.h ]
2727++ #then
2828++ #CCARGS="$CCARGS -I/usr/include/db"
2929++ #else
3030++ ## No, we're not going to try db1 db2 db3 etc.
3131++ ## On a properly installed system, Postfix builds
3232++ ## by including <db.h> and by linking with -ldb
3333++ #echo "No <db.h> include file found." 1>&2
3434++ #echo "Install the appropriate db*-devel package first." 1>&2
3535++ #echo "See the RELEASE_NOTES file for more information." 1>&2
3636++ #exit 1
3737++ #fi
3838+ # GDBM locks the DBM .pag file after open. This breaks postmap.
3939+ # if [ -f /usr/include/gdbm-ndbm.h ]
4040+ # then
+12
pkgs/servers/mail/postfix/postfix-2.2.9-lib.patch
···11+diff -ruN postfix-2.2.9/makedefs postfix-2.2.9.new/makedefs
22+--- postfix-2.2.9/makedefs 2006-01-03 21:50:25.000000000 +0000
33++++ postfix-2.2.9.new/makedefs 2006-03-11 01:40:30.000000000 +0000
44+@@ -247,7 +247,7 @@
55+ SYSLIBS="-ldb"
66+ for name in nsl resolv $GDBM_LIBS
77+ do
88+- for lib in /usr/lib64 /lib64 /usr/lib /lib
99++ for lib in $glibc/usr/lib64 $glibc/lib64 $glibc/usr/lib $glibc/lib
1010+ do
1111+ test -e $lib/lib$name.a -o -e $lib/lib$name.so && {
1212+ SYSLIBS="$SYSLIBS -l$name"