pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/databases/postgresql74 Give interix3 a build template.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b9b7d89343db
branches:  trunk
changeset: 487855:b9b7d89343db
user:      tv <tv%pkgsrc.org@localhost>
date:      Fri Jan 21 03:15:52 2005 +0000

description:
Give interix3 a build template.

diffstat:

 databases/postgresql74/Makefile.common         |  15 +++++++++++----
 databases/postgresql74/files/interix3.template |   6 ++++++
 2 files changed, 17 insertions(+), 4 deletions(-)

diffs (46 lines):

diff -r 03da8ace0784 -r b9b7d89343db databases/postgresql74/Makefile.common
--- a/databases/postgresql74/Makefile.common    Fri Jan 21 02:55:15 2005 +0000
+++ b/databases/postgresql74/Makefile.common    Fri Jan 21 03:15:52 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.16 2004/12/20 13:16:02 grant Exp $
+# $NetBSD: Makefile.common,v 1.17 2005/01/21 03:15:52 tv Exp $
 #
 # This Makefile fragment is included by all PostgreSQL packages built from
 # the main sources of the PostgreSQL distribution except jdbc-postgresql.
@@ -93,6 +93,13 @@
                ${CP} -f ${COMMON_FILESDIR}/Makefile.custom             \
                        ${WRKSRC}/src/Makefile.custom;                  \
        fi
+.for platform in interix3
+       if [ -d ${WRKSRC}/src/template ]; then                          \
+               ${RM} -f ${WRKSRC}/src/template/${platform};            \
+               ${CP} -f ${COMMON_FILESDIR}/${platform}.template        \
+                       ${WRKSRC}/src/template/${platform};             \
+       fi
+.endfor
        if [ -d ${WRKSRC}/src/interfaces/libpq ]; then                  \
                ${RM} -f ${WRKSRC}/src/interfaces/libpq/GNUmakefile;    \
                ${CP} -f ${COMMON_FILESDIR}/GNUmakefile.libpq           \
@@ -104,9 +111,9 @@
                        ${WRKSRC}/src/interfaces/libpgtcl/GNUmakefile;  \
        fi
        if [ -d ${WRKSRC}/src/backend/port/dynloader ]; then            \
-               ${RM} -f ${WRKSRC}/src/backend/port/dynloader/netbsd.[ch];\
-               ${CP} -f ${COMMON_FILESDIR}/netbsd.[ch] \
-                       ${WRKSRC}/src/backend/port/dynloader/;  \
+               ${RM} -f ${WRKSRC}/src/backend/port/dynloader/netbsd.[ch]; \
+               ${CP} -f ${COMMON_FILESDIR}/netbsd.[ch]                 \
+                       ${WRKSRC}/src/backend/port/dynloader/;          \
        fi
 
 .include "../../devel/gettext-lib/buildlink3.mk"
diff -r 03da8ace0784 -r b9b7d89343db databases/postgresql74/files/interix3.template
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/postgresql74/files/interix3.template    Fri Jan 21 03:15:52 2005 +0000
@@ -0,0 +1,6 @@
+# $NetBSD: interix3.template,v 1.1 2005/01/21 03:15:52 tv Exp $
+
+THREAD_SUPPORT=yes
+THREAD_CPPFLAGS="-D_REENTRANT"
+THREAD_LIBS="-lpthread"
+NEED_REENTRANT_FUNCS=yes



Home | Main Index | Thread Index | Old Index