$NetBSD: patch-ai,v 1.10 2004/04/14 12:55:20 minskim Exp $ --- makedefs.orig 2003-11-05 13:50:15.000000000 -0600 +++ makedefs @@ -94,7 +94,7 @@ case "$SYSTEM.$RELEASE" in ;; OpenBSD.3*) SYSTYPE=OPENBSD3 ;; - NetBSD.1*) SYSTYPE=NETBSD1 + NetBSD.*) SYSTYPE=NETBSD1 ;; BSD/OS.2*) SYSTYPE=BSDI2 ;; @@ -175,22 +175,6 @@ case "$SYSTEM.$RELEASE" in SYSLIBS="-ldb" ;; 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 and by linking with -ldb - echo "No 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 @@ -201,7 +185,6 @@ case "$SYSTEM.$RELEASE" in # CCARGS="$CCARGS -DHAS_DBM -DPATH_NDBM_H=''" # GDBM_LIBS=gdbm # fi - SYSLIBS="-ldb" for name in nsl resolv $GDBM_LIBS do for lib in /usr/lib64 /lib64 /usr/lib /lib