summaryrefslogtreecommitdiff
path: root/databases/postgresql73/Makefile.common
diff options
context:
space:
mode:
authorjdolecek <jdolecek@pkgsrc.org>2004-10-10 17:27:43 +0000
committerjdolecek <jdolecek@pkgsrc.org>2004-10-10 17:27:43 +0000
commit030b599375f5008348cc2bfb387b9127949e87e0 (patch)
tree10537702d3ed9233879cd0b1fa3c08f6a18c843c /databases/postgresql73/Makefile.common
parente07638733ebcc8f439d0fbc27600cb537fe13a4e (diff)
downloadpkgsrc-030b599375f5008348cc2bfb387b9127949e87e0.tar.gz
Update the NetBSD dynloader wrapper code to use straigh dl*() calls on all
archs. This fixes support for dynamic loading on mips and also improves error reporting. Fixes PR pkg/25473 by Byron Servies. PKGREVISION not bumped, will ride update to 7.3.7
Diffstat (limited to 'databases/postgresql73/Makefile.common')
-rw-r--r--databases/postgresql73/Makefile.common7
1 files changed, 6 insertions, 1 deletions
diff --git a/databases/postgresql73/Makefile.common b/databases/postgresql73/Makefile.common
index 0cb9d705e3a..d09fc2048fa 100644
--- a/databases/postgresql73/Makefile.common
+++ b/databases/postgresql73/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.2 2004/08/21 17:27:04 seb Exp $
+# $NetBSD: Makefile.common,v 1.3 2004/10/10 17:27:43 jdolecek Exp $
#
# This Makefile fragment is included by all PostgreSQL packages built from
# the main sources of the PostgreSQL distribution except jdbc-postgresql.
@@ -83,6 +83,11 @@ post-extract:
${CP} -f ${COMMON_FILESDIR}/GNUmakefile.libpgtcl \
${WRKSRC}/src/interfaces/libpgtcl/GNUmakefile; \
fi
+ if [ -d ${WRKSRC}/src/backend/port/dynloader ]; then \
+ ${RM} -f ${WRKSRC}/src/backend/port/dynloader/netbsd.[ch];\
+ ${CP} -f ${COMMON_FILESDIR}/netbsd.[ch] \
+ ${WRKSRC}/src/backend/port/dynloader/; \
+ fi
pre-configure:
cd ${WRKSRC} && ${AUTOCONF}