Subject: Re: pkg/10704
To: None <tech-pkg@netbsd.org>
From: Berndt Josef Wulf <wulf@dingo.ping.net.au>
List: port-alpha
Date: 02/13/2001 00:23:53
The patches refered to in pkg/PR10704 were successfully tested on a AXPpci33
and have proven to fix the problems hightlighted in this PR.

I don't see any reason to further delay the integration of this patch into the
pkgsrc tree. The following code changes were made to ensure that this patch is 
applied for NetBSD-alpha architectures only...


--- Makefile.orig	Tue Feb 13 00:07:03 2001
+++ Makefile	Tue Feb 13 00:01:19 2001
@@ -10,7 +10,7 @@
 MAKEFILE=		GNUmakefile
 
 # Needs ELF clue, mips has no TAS implementation
-NOT_FOR_PLATFORM=	*-*-alpha *-*-mips
+#NOT_FOR_PLATFORM=	*-*-alpha *-*-mips
 
 .include "../../mk/bsd.prefs.mk"
 
@@ -47,6 +47,11 @@
 .elif ${OPSYS} == "SunOS"
 ADDUSER=		useradd
 ADDGROUP=		groupadd
+.endif
+
+.if ${MACHINE_ARCH} == "alpha"
+post-patch:
+	cd ${WRKSRC} && ${PATCH} < ${FILESDIR}/postgresql-7.0.3-alpha.diff
 .endif
 
 post-build:


A diff against the current package sources containing the changes
of the Makefile and added patchfile can be downloaded from 

ftp://ftp.ping.net.au/pub/unix/db/postgresql-7.0.3-pkgsrc.diff

using ACTIVE FTP!!!!

cheerio Berndt
-- 
Name    : Berndt Josef Wulf            | +++ With BSD on Packet Radio +++
E-Mail  : wulf@ping.net.au             |    tfkiss, tnt, dpbox, wampes
ICQ     : 18196098                     |  VK5ABN, Nairne, South Australia 
URL     : http://www.ping.net.au/~wulf | MBOX : vk5abn@vk5abn.#lmr.#sa.au.oc
Sysinfo : DEC AXPpci33+, NetBSD-1.5    | BBS  : vk5abn.#lmr.#sa.aus.oc