summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorchristos <christos>2000-10-04 15:22:10 +0000
committerchristos <christos>2000-10-04 15:22:10 +0000
commit58b11726d232228e16a610d2355326baf8e7c7d1 (patch)
treee6ae6ffbcf9de9cc850395feeba44f9ac0f0172e /mail
parentbfb915784f8012e2a6f51764d7d7207e5fba6d18 (diff)
downloadpkgsrc-58b11726d232228e16a610d2355326baf8e7c7d1.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')
-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