pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases Merge DragonFly pre-configure merging back i...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7df7806b3623
branches:  trunk
changeset: 503996:7df7806b3623
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Fri Dec 02 21:01:34 2005 +0000

description:
Merge DragonFly pre-configure merging back into Makefile.common's
post-extract.

diffstat:

 databases/postgresql74-client/Makefile  |  15 +--------------
 databases/postgresql74-contrib/Makefile |  15 +--------------
 databases/postgresql74-lib/Makefile     |  15 +--------------
 databases/postgresql74-server/Makefile  |  15 +--------------
 databases/postgresql74/Makefile.common  |  21 ++++++++++++++++++++-
 databases/tcl-postgresql74/Makefile     |  15 +--------------
 6 files changed, 25 insertions(+), 71 deletions(-)

diffs (180 lines):

diff -r 99d7a559476f -r 7df7806b3623 databases/postgresql74-client/Makefile
--- a/databases/postgresql74-client/Makefile    Fri Dec 02 20:15:00 2005 +0000
+++ b/databases/postgresql74-client/Makefile    Fri Dec 02 21:01:34 2005 +0000
@@ -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 @@
 
 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} \
diff -r 99d7a559476f -r 7df7806b3623 databases/postgresql74-contrib/Makefile
--- a/databases/postgresql74-contrib/Makefile   Fri Dec 02 20:15:00 2005 +0000
+++ b/databases/postgresql74-contrib/Makefile   Fri Dec 02 21:01:34 2005 +0000
@@ -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 @@
 
 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} \
diff -r 99d7a559476f -r 7df7806b3623 databases/postgresql74-lib/Makefile
--- a/databases/postgresql74-lib/Makefile       Fri Dec 02 20:15:00 2005 +0000
+++ b/databases/postgresql74-lib/Makefile       Fri Dec 02 21:01:34 2005 +0000
@@ -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 @@
        ${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
diff -r 99d7a559476f -r 7df7806b3623 databases/postgresql74-server/Makefile
--- a/databases/postgresql74-server/Makefile    Fri Dec 02 20:15:00 2005 +0000
+++ b/databases/postgresql74-server/Makefile    Fri Dec 02 21:01:34 2005 +0000
@@ -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 @@
        ${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} \
diff -r 99d7a559476f -r 7df7806b3623 databases/postgresql74/Makefile.common
--- a/databases/postgresql74/Makefile.common    Fri Dec 02 20:15:00 2005 +0000
+++ b/databases/postgresql74/Makefile.common    Fri Dec 02 21:01:34 2005 +0000
@@ -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 @@
                ${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"
diff -r 99d7a559476f -r 7df7806b3623 databases/tcl-postgresql74/Makefile
--- a/databases/tcl-postgresql74/Makefile       Fri Dec 02 20:15:00 2005 +0000
+++ b/databases/tcl-postgresql74/Makefile       Fri Dec 02 21:01:34 2005 +0000
@@ -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/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`



Home | Main Index | Thread Index | Old Index