summaryrefslogtreecommitdiff
path: root/databases/postgresql80/Makefile.common
diff options
context:
space:
mode:
authorjoerg <joerg>2005-12-29 13:33:42 +0000
committerjoerg <joerg>2005-12-29 13:33:42 +0000
commit702a35e4fcab12086a8db26e22a5eaa2cc85e02e (patch)
treef52b9e69e02a2b6f006537fb9a5671d19b5dfc99 /databases/postgresql80/Makefile.common
parent848fdcb74f480a3bfa75931edf2d8cb23f647d9e (diff)
downloadpkgsrc-702a35e4fcab12086a8db26e22a5eaa2cc85e02e.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/Makefile.common')
-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