summaryrefslogtreecommitdiff
path: root/databases/postgresql
diff options
context:
space:
mode:
authorjlam <jlam>2001-02-13 02:37:43 +0000
committerjlam <jlam>2001-02-13 02:37:43 +0000
commit87ddfb8498ea51a4be81ec310ef801a6e59fc148 (patch)
tree2212ed1ebd733cad8e9c6691cccdce0c0ce6f99a /databases/postgresql
parent1ae5df0bdaa7873bf1cfbd2922a0131f438e75ae (diff)
downloadpkgsrc-87ddfb8498ea51a4be81ec310ef801a6e59fc148.tar.gz
Apply patch to fix alpha-related problems.
Diffstat (limited to 'databases/postgresql')
-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' \