summaryrefslogtreecommitdiff
path: root/databases/postgresql81
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-03-28 19:48:22 +0000
committerjoerg <joerg@pkgsrc.org>2006-03-28 19:48:22 +0000
commita153c48230b5af5a6c9096108b27e046f99a280a (patch)
tree0bc57546bc749d3672eced65fc40c22de38a9669 /databases/postgresql81
parent2dc7d51cb4b0faadce3a1779c3e33705c12bc5fc (diff)
downloadpkgsrc-a153c48230b5af5a6c9096108b27e046f99a280a.tar.gz
Move pre-configure rule for Dragonfly into post-extract rule like
the other postgresql packages do. Fixes build of PL packages.
Diffstat (limited to 'databases/postgresql81')
-rw-r--r--databases/postgresql81/Makefile.common19
1 files changed, 18 insertions, 1 deletions
diff --git a/databases/postgresql81/Makefile.common b/databases/postgresql81/Makefile.common
index 5578f463a21..b2d017e3c8a 100644
--- a/databases/postgresql81/Makefile.common
+++ b/databases/postgresql81/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.2 2006/03/21 06:39:33 martti Exp $
+# $NetBSD: Makefile.common,v 1.3 2006/03/28 19:48:22 joerg Exp $
#
# This Makefile fragment is included by all PostgreSQL packages built from
# the main sources of the PostgreSQL distribution except jdbc-postgresql.
@@ -135,6 +135,23 @@ post-extract:
>${WRKSRC}/src/backend/port/dynloader/$$template.c
fi
.endif
+ if ${TEST} -d ${WRKSRC}/src/template; then \
+ ${TOUCH} ${WRKSRC}/src/template/dragonfly; \
+ fi
+ if ${TEST} -d ${WRKSRC}/src/backend/port/dynloader; then \
+ ${CP} ${WRKSRC}/src/backend/port/dynloader/freebsd.c \
+ ${WRKSRC}/src/backend/port/dynloader/dragonfly.c; \
+ ${CP} ${WRKSRC}/src/backend/port/dynloader/freebsd.h \
+ ${WRKSRC}/src/backend/port/dynloader/dragonfly.h; \
+ fi
+ if ${TEST} -d ${WRKSRC}/src/include/port; then \
+ ${CP} ${WRKSRC}/src/include/port/freebsd.h \
+ ${WRKSRC}/src/include/port/dragonfly.h; \
+ fi
+ if ${TEST} -d ${WRKSRC}/src/makefiles; then \
+ ${CP} ${WRKSRC}/src/makefiles/Makefile.freebsd \
+ ${WRKSRC}/src/makefiles/Makefile.dragonfly; \
+ fi
# PGSQL_BLCKSZ is the size in bytes of a PostgreSQL disk page or block.
# This also limits the size of a tuple. The valid values are powers