summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2001-02-13 02:37:43 +0000
committerjlam <jlam@pkgsrc.org>2001-02-13 02:37:43 +0000
commitbd487625e8fae2957366f80339803e8ade580d79 (patch)
tree2212ed1ebd733cad8e9c6691cccdce0c0ce6f99a /databases
parentda659d71ac4e33ecb400c35ef6bee5fac2f57233 (diff)
downloadpkgsrc-bd487625e8fae2957366f80339803e8ade580d79.tar.gz
Apply patch to fix alpha-related problems.
Diffstat (limited to 'databases')
-rw-r--r--databases/postgresql/Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/databases/postgresql/Makefile b/databases/postgresql/Makefile
index 42bd0f5bf28..3fadbd070f8 100644
--- a/databases/postgresql/Makefile
+++ b/databases/postgresql/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.59 2001/01/29 11:34:23 wiz Exp $
+# $NetBSD: Makefile,v 1.60 2001/02/13 02:37:43 jlam Exp $
# FreeBSD Id: Makefile,v 1.22 1997/12/24 01:21:37 alex Exp
#
@@ -10,7 +10,7 @@ DEPENDS+= readline-*:../../devel/readline
MAKEFILE= GNUmakefile
# Needs ELF clue, mips has no TAS implementation
-NOT_FOR_PLATFORM= *-*-alpha *-*-mips
+NOT_FOR_PLATFORM= *-*-mips
.include "../../mk/bsd.prefs.mk"
@@ -49,6 +49,14 @@ ADDUSER= useradd
ADDGROUP= groupadd
.endif
+# The following alpha-specific patch fixes problems in the 7.0.x release
+# that will be fixed in a more complete way in the forthcoming 7.1 release.
+#
+.if ${MACHINE_ARCH} == "alpha"
+post-patch:
+ cd ${WRKSRC} && ${PATCH} < ${FILESDIR}/postgresql-7.0.3-alpha.diff
+.endif
+
post-build:
${SED} -e 's|@PATH@|${PATH}|g' \
-e 's|@MANPATH@|${MANPATH}|g' \