summaryrefslogtreecommitdiff
path: root/mail/postfix-current/patches
diff options
context:
space:
mode:
authorchristos <christos@pkgsrc.org>2000-10-04 15:22:10 +0000
committerchristos <christos@pkgsrc.org>2000-10-04 15:22:10 +0000
commit753fd1d260ab70fc12a3570784a05fa9a191b8cf (patch)
treee6ae6ffbcf9de9cc850395feeba44f9ac0f0172e /mail/postfix-current/patches
parentb92dd5fcc3b688378f3c0f828aae6477f5c5216b (diff)
downloadpkgsrc-753fd1d260ab70fc12a3570784a05fa9a191b8cf.tar.gz
mmm, linux: let's see where db.h hides in RH7
is it in <db_185.h>? no is it in <db/db.h>? no is it in <db1/db.h>? yes and for a good measure they've renamed libdb.a to libdb1.a to make sure that they break linking, not just compiling.
Diffstat (limited to 'mail/postfix-current/patches')
-rw-r--r--mail/postfix-current/patches/patch-ab22
1 files changed, 22 insertions, 0 deletions
diff --git a/mail/postfix-current/patches/patch-ab b/mail/postfix-current/patches/patch-ab
new file mode 100644
index 00000000000..6c424b0ca0e
--- /dev/null
+++ b/mail/postfix-current/patches/patch-ab
@@ -0,0 +1,22 @@
+$NetBSD: patch-ab,v 1.3 2000/10/04 15:22:10 christos Exp $
+
+--- makedefs.orig Tue Oct 3 18:47:56 2000
++++ makedefs Tue Oct 3 19:20:56 2000
+@@ -174,7 +174,7 @@
+ *) echo "Unknown AIX version: `uname -v`." 1>&2; exit 1;;
+ esac;;
+ Linux.2*) SYSTYPE=LINUX2
+- for name in db nsl resolv
++ for name in db db1 nsl resolv
+ do
+ test -f /usr/lib/lib$name.a && SYSLIBS="$SYSLIBS -l$name"
+ done
+@@ -182,6 +182,8 @@
+ CCARGS="$CCARGS -DPATH_DB_H='<db_185.h>'"
+ elif [ -f /usr/include/db/db.h ]; then
+ CCARGS="$CCARGS -DPATH_DB_H='<db/db.h>'"
++ elif [ -f /usr/include/db1/db.h ]; then
++ CCARGS="$CCARGS -DPATH_DB_H='<db1/db.h>'"
+ fi
+ ;;
+ IRIX*.5.*) SYSTYPE=IRIX5