summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2005-10-10 23:29:00 +0000
committerjoerg <joerg@pkgsrc.org>2005-10-10 23:29:00 +0000
commit1c6e07d330e0333da0d11062c8dc1774897d4a33 (patch)
tree5cf2ee68c0feb09cd08cd4c3e3adcdb055e654f9 /databases
parentdeb5f2bcc6c1045e94c2292328f6effd3cb88673 (diff)
downloadpkgsrc-1c6e07d330e0333da0d11062c8dc1774897d4a33.tar.gz
Add some missing pieces from the last change. -client needs the copied
files too and the copying itself has to be done before configure, not before build.
Diffstat (limited to 'databases')
-rw-r--r--databases/postgresql80-client/Makefile15
-rw-r--r--databases/postgresql80-server/Makefile6
2 files changed, 18 insertions, 3 deletions
diff --git a/databases/postgresql80-client/Makefile b/databases/postgresql80-client/Makefile
index 89f49fe17b4..1a29581b91d 100644
--- a/databases/postgresql80-client/Makefile
+++ b/databases/postgresql80-client/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2005/10/10 16:46:02 joerg Exp $
+# $NetBSD: Makefile,v 1.10 2005/10/10 23:29:00 joerg Exp $
PKGNAME= postgresql80-client-${BASE_VERS}
PKGREVISION= 3
@@ -69,6 +69,19 @@ post-wrapper:
${TOUCH} ${BUILDLINK_DIR}/include/crypt.h
.endif
+pre-configure:
+ ${TOUCH} ${WRKSRC}/src/template/dragonfly
+ ${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
+ ${CP} ${WRKSRC}/src/backend/port/dynloader/freebsd.h \
+ ${WRKSRC}/src/backend/port/dynloader/dragonfly.h
+ ${CP} ${WRKSRC}/src/include/port/freebsd.h \
+ ${WRKSRC}/src/include/port/dragonfly.h
+ ${CP} ${WRKSRC}/src/makefiles/Makefile.freebsd \
+ ${WRKSRC}/src/makefiles/Makefile.dragonfly
+
pre-build:
${_PKG_SILENT}${_PKG_DEBUG}${_ULIMIT_CMD} \
cd ${WRKSRC}/src/backend && \
diff --git a/databases/postgresql80-server/Makefile b/databases/postgresql80-server/Makefile
index c4de7de5afa..ddc5ffbd3af 100644
--- a/databases/postgresql80-server/Makefile
+++ b/databases/postgresql80-server/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2005/10/10 16:46:02 joerg Exp $
+# $NetBSD: Makefile,v 1.13 2005/10/10 23:29:00 joerg Exp $
PKGNAME= postgresql80-server-${BASE_VERS}
PKGREVISION= 2
@@ -78,7 +78,7 @@ post-wrapper:
${TOUCH} ${BUILDLINK_DIR}/include/crypt.h
.endif
-pre-build:
+pre-configure:
${TOUCH} ${WRKSRC}/src/template/dragonfly
${CP} ${WRKSRC}/src/backend/port/dynloader/freebsd.c \
${WRKSRC}/src/backend/port/dynloader/dragonfly.c
@@ -90,6 +90,8 @@ pre-build:
${WRKSRC}/src/include/port/dragonfly.h
${CP} ${WRKSRC}/src/makefiles/Makefile.freebsd \
${WRKSRC}/src/makefiles/Makefile.dragonfly
+
+pre-build:
${_PKG_SILENT}${_PKG_DEBUG}${_ULIMIT_CMD} \
cd ${WRKSRC}/src/backend && \
${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} ${BUILD_MAKE_FLAGS} \