Merge DragonFly pre-configure merging back into Makefile.common's

post-extract.
This commit is contained in:
joerg 2005-12-02 21:01:34 +00:00
parent e80f0f0519
commit 500dbef42b
6 changed files with 25 additions and 71 deletions

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.15 2005/11/08 16:40:38 joerg Exp $
# $NetBSD: Makefile,v 1.16 2005/12/02 21:01:34 joerg Exp $
PKGNAME= postgresql74-client-${BASE_VERS}
PKGREVISION= # empty
@ -18,19 +18,6 @@ MAKE_ENV+= INSTALLED_LIBPQ=1
BUILD_DIRS= ${WRKSRC}/src/bin
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 && \
${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} ${BUILD_MAKE_FLAGS} \

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.8 2005/11/08 16:40:38 joerg Exp $
# $NetBSD: Makefile,v 1.9 2005/12/02 21:01:34 joerg Exp $
PKGNAME= postgresql74-contrib-${BASE_VERS}
PKGREVISION= # empty
@ -14,19 +14,6 @@ MAKE_ENV+= INSTALLED_LIBPQ=1
BUILD_DIRS= ${WRKSRC}/contrib
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 && \
${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} ${BUILD_MAKE_FLAGS} \

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.20 2005/11/08 16:40:39 joerg Exp $
# $NetBSD: Makefile,v 1.21 2005/12/02 21:01:34 joerg Exp $
PKGNAME= postgresql74-lib-${BASE_VERS}
PKGREVISION= 2
@ -45,19 +45,6 @@ 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
do-install:
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \
${MAKE_PROGRAM} -C src/include install

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.18 2005/11/08 16:40:39 joerg Exp $
# $NetBSD: Makefile,v 1.19 2005/12/02 21:01:34 joerg Exp $
PKGNAME= postgresql74-server-${BASE_VERS}
PKGREVISION= # empty
@ -61,19 +61,6 @@ 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 && \
${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} ${BUILD_MAKE_FLAGS} \

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile.common,v 1.26 2005/09/12 13:19:22 hira Exp $
# $NetBSD: Makefile.common,v 1.27 2005/12/02 21:01:34 joerg Exp $
#
# This Makefile fragment is included by all PostgreSQL packages built from
# the main sources of the PostgreSQL distribution except jdbc-postgresql.
@ -131,6 +131,25 @@ post-extract:
${CP} -f ${COMMON_FILESDIR}/netbsd.[ch] \
${WRKSRC}/src/backend/port/dynloader/; \
fi
if [ -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; \
${CP} ${WRKSRC}/src/backend/port/dynloader/freebsd.h \
${WRKSRC}/src/backend/port/dynloader/dragonfly.h; \
fi
if [ -d ${WRKSRC}/src/template ]; then \
${TOUCH} ${WRKSRC}/src/template/dragonfly; \
fi
if [ -d ${WRKSRC}/src/include/port ]; then \
${CP} ${WRKSRC}/src/include/port/freebsd.h \
${WRKSRC}/src/include/port/dragonfly.h; \
fi
if [ -d ${WRKSRC}/src/makefiles ]; then \
${CP} ${WRKSRC}/src/makefiles/Makefile.freebsd \
${WRKSRC}/src/makefiles/Makefile.dragonfly; \
fi
.if ${OPSYS} == "Interix"
. include "../../devel/libltdl/buildlink3.mk"

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.4 2005/12/02 20:00:18 joerg Exp $
# $NetBSD: Makefile,v 1.5 2005/12/02 21:01:34 joerg Exp $
PKGNAME= tcl-postgresql74-${BASE_VERS}
COMMENT= Tcl interface to PostgreSQL
@ -16,19 +16,6 @@ BUILD_DIRS= ${WRKSRC}/src/port
BUILD_DIRS+= ${WRKSRC}/src/interfaces/libpgtcl
BUILD_DIRS+= ${WRKSRC}/src/bin/pgtclsh
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
post-install:
cd ${PREFIX}/man && ${TAR} -zxf ${WRKSRC}/doc/man.tar.gz \
`${SED} -e "s|#.*||" ${FILESDIR}/man.tcl`