summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2012-02-27 03:01:30 +0000
committertaca <taca@pkgsrc.org>2012-02-27 03:01:30 +0000
commite60fc132481669808a927371a0009e863feda043 (patch)
tree6ab69fe9bb480cfa25814ee71164913fce255f3a
parent86db655680db7f5fba5c2cb0bc4a4dff70f1546c (diff)
downloadpkgsrc-e60fc132481669808a927371a0009e863feda043.tar.gz
Build fix for NetBSD 6.0_BETA.
-rw-r--r--mail/postfix/distinfo6
-rw-r--r--mail/postfix/patches/patch-ag6
-rw-r--r--mail/postfix/patches/patch-ai22
3 files changed, 18 insertions, 16 deletions
diff --git a/mail/postfix/distinfo b/mail/postfix/distinfo
index 52c7ba4eca2..787909d4503 100644
--- a/mail/postfix/distinfo
+++ b/mail/postfix/distinfo
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.140 2012/02/19 18:19:23 tron Exp $
+$NetBSD: distinfo,v 1.141 2012/02/27 03:01:30 taca Exp $
SHA1 (postfix-2.8.8.tar.gz) = b712b25a105c132b40b63aef49268ea117b86f03
RMD160 (postfix-2.8.8.tar.gz) = eb71b542af2a00da5f12220946731560ff20377d
Size (postfix-2.8.8.tar.gz) = 3648317 bytes
SHA1 (patch-aa) = 5b4923402c80957e47b8a4e16c897287b88544bb
-SHA1 (patch-ag) = 3d8083260763adb97ab3d7a270c25c2d95ce6bd6
-SHA1 (patch-ai) = ef3feef8a4fe7781a89f7e087fc5780760b461b1
+SHA1 (patch-ag) = 60d752b6c8db971d92ca0017c63329ad446209c5
+SHA1 (patch-ai) = 8f81c48321ce0875bffe28fd94c0b3965d927560
diff --git a/mail/postfix/patches/patch-ag b/mail/postfix/patches/patch-ag
index 39bbce1fbf4..125a486747f 100644
--- a/mail/postfix/patches/patch-ag
+++ b/mail/postfix/patches/patch-ag
@@ -1,7 +1,7 @@
-$NetBSD: patch-ag,v 1.32 2011/11/07 15:36:07 taca Exp $
+$NetBSD: patch-ag,v 1.33 2012/02/27 03:01:30 taca Exp $
Only define HAS_DB if it hasn't been defined.
-Add support for NetBSD 5.x and DragonFly BSD.
+Add support for NetBSD 5.x, NetBSD 6.x and DragonFly BSD.
Handle closefrom() on FreeBSD.
--- src/util/sys_defs.h.orig 2011-11-02 23:46:22.000000000 +0000
@@ -12,7 +12,7 @@ Handle closefrom() on FreeBSD.
|| defined(NETBSD1) || defined(NETBSD2) || defined(NETBSD3) \
- || defined(NETBSD4) \
- || defined(EKKOBSD1)
-+ || defined(NETBSD4) || defined(NETBSD5) \
++ || defined(NETBSD4) || defined(NETBSD5) || defined(NETBSD6) \
+ || defined(EKKOBSD1) || defined(DRAGONFLY)
#define SUPPORTED
#include <sys/types.h>
diff --git a/mail/postfix/patches/patch-ai b/mail/postfix/patches/patch-ai
index 98b825757bc..32f57479739 100644
--- a/mail/postfix/patches/patch-ai
+++ b/mail/postfix/patches/patch-ai
@@ -1,11 +1,11 @@
-$NetBSD: patch-ai,v 1.26 2010/02/25 13:01:23 martti Exp $
+$NetBSD: patch-ai,v 1.27 2012/02/27 03:01:30 taca Exp $
Make this pkgsrc friendly.
-Add support for NetBSD 5.x and DragonFly BSD.
+Add support for NetBSD 5.x, NetBSD 6.x and DragonFly BSD.
---- makedefs.orig 2010-02-03 22:58:58.000000000 +0200
-+++ makedefs 2010-02-25 14:48:50.000000000 +0200
-@@ -146,6 +146,8 @@
+--- makedefs.orig 2011-11-02 23:46:22.000000000 +0000
++++ makedefs
+@@ -146,6 +146,8 @@ case "$SYSTEM.$RELEASE" in
;;
FreeBSD.8*) SYSTYPE=FREEBSD8
;;
@@ -14,16 +14,18 @@ Add support for NetBSD 5.x and DragonFly BSD.
OpenBSD.2*) SYSTYPE=OPENBSD2
;;
OpenBSD.3*) SYSTYPE=OPENBSD3
-@@ -162,6 +164,8 @@
+@@ -164,6 +166,10 @@ case "$SYSTEM.$RELEASE" in
;;
NetBSD.4*) SYSTYPE=NETBSD4
;;
+ NetBSD.5*) SYSTYPE=NETBSD5
+ ;;
++ NetBSD.6*) SYSTYPE=NETBSD6
++ ;;
BSD/OS.2*) SYSTYPE=BSDI2
;;
BSD/OS.3*) SYSTYPE=BSDI3
-@@ -214,13 +218,6 @@
+@@ -216,13 +222,6 @@ case "$SYSTEM.$RELEASE" in
esac
;;
ULTRIX.4*) SYSTYPE=ULTRIX4
@@ -37,7 +39,7 @@ Add support for NetBSD 5.x and DragonFly BSD.
for l in syslog resolv; do
if [ -f /usr/local/lib/lib$l.a ]; then
SYSLIBS="$SYSLIBS -l$l"
-@@ -252,25 +249,8 @@
+@@ -260,25 +259,8 @@ case "$SYSTEM.$RELEASE" in
esac;;
# Tested with RedHat 3.03 on 20020729.
Linux.1*) SYSTYPE=LINUX1
@@ -63,7 +65,7 @@ Add support for NetBSD 5.x and DragonFly BSD.
# GDBM locks the DBM .pag file after open. This breaks postmap.
# if [ -f /usr/include/gdbm-ndbm.h ]
# then
-@@ -281,7 +261,6 @@
+@@ -289,7 +271,6 @@ case "$SYSTEM.$RELEASE" in
# CCARGS="$CCARGS -DHAS_DBM -DPATH_NDBM_H='<gdbm/ndbm.h>'"
# GDBM_LIBS=gdbm
# fi
@@ -71,7 +73,7 @@ Add support for NetBSD 5.x and DragonFly BSD.
for name in nsl resolv $GDBM_LIBS
do
for lib in /usr/lib64 /lib64 /usr/lib /lib
-@@ -383,25 +362,13 @@
+@@ -418,25 +399,13 @@ EOF
HP-UX.A.09.*) SYSTYPE=HPUX9
SYSLIBS=-ldbm
CCARGS="$CCARGS -DMISSING_USLEEP"