summaryrefslogtreecommitdiff
path: root/databases/postgresql80
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2005-12-29 13:33:42 +0000
committerjoerg <joerg@pkgsrc.org>2005-12-29 13:33:42 +0000
commit5e9b10cb40d63c02c302733d2e14201c67b22b8e (patch)
treef52b9e69e02a2b6f006537fb9a5671d19b5dfc99 /databases/postgresql80
parent530373488a1e23de2c4c8f3c5ea4d86a22866ed5 (diff)
downloadpkgsrc-5e9b10cb40d63c02c302733d2e14201c67b22b8e.tar.gz
Move DragonFly file handling into Makefile.common, like the other
postgresql packages do. Fixes -pl* at the same time.
Diffstat (limited to 'databases/postgresql80')
-rw-r--r--databases/postgresql80/Makefile.common19
1 files changed, 18 insertions, 1 deletions
diff --git a/databases/postgresql80/Makefile.common b/databases/postgresql80/Makefile.common
index 42429b9e269..c01a023f989 100644
--- a/databases/postgresql80/Makefile.common
+++ b/databases/postgresql80/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.12 2005/12/17 05:20:21 jlam Exp $
+# $NetBSD: Makefile.common,v 1.13 2005/12/29 13:33:42 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