pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/databases/postgresql74 Specify template for IRIX



details:   https://anonhg.NetBSD.org/pkgsrc/rev/24f2a629bea1
branches:  trunk
changeset: 496812:24f2a629bea1
user:      jschauma <jschauma%pkgsrc.org@localhost>
date:      Wed Jul 13 15:32:40 2005 +0000

description:
Specify template for IRIX

diffstat:

 databases/postgresql74/Makefile.common |  9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diffs (30 lines):

diff -r d368df1eb860 -r 24f2a629bea1 databases/postgresql74/Makefile.common
--- a/databases/postgresql74/Makefile.common    Wed Jul 13 15:31:25 2005 +0000
+++ b/databases/postgresql74/Makefile.common    Wed Jul 13 15:32:40 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.24 2005/06/30 01:50:10 wiz Exp $
+# $NetBSD: Makefile.common,v 1.25 2005/07/13 15:32:40 jschauma Exp $
 #
 # This Makefile fragment is included by all PostgreSQL packages built from
 # the main sources of the PostgreSQL distribution except jdbc-postgresql.
@@ -66,6 +66,7 @@
 BUILD_DEFS+=   PGSQL_USE_HIER
 
 PGSQL_TEMPLATE.SunOS=          solaris
+PGSQL_TEMPLATE.IRIX=           irix5
 .if !defined(PGSQL_TEMPLATE.${OPSYS})
 PGSQL_TEMPLATE.${OPSYS}=       ${LOWER_OPSYS}
 .endif
@@ -92,6 +93,12 @@
                ${CP} -f ${COMMON_FILESDIR}/Makefile.custom             \
                        ${WRKSRC}/src/Makefile.custom;                  \
        fi
+.for platform in irix5
+       echo "THREAD_LIBS=\"-lpthread\"" >>                             \
+               ${WRKSRC}/src/template/${platform};                     \
+       echo "THREAD_SUPPORT=yes" >>                                    \
+               ${WRKSRC}/src/template/${platform};
+.endfor
 .for platform in interix3
        if [ -d ${WRKSRC}/src/template ]; then                          \
                ${RM} -f ${WRKSRC}/src/template/${platform};            \



Home | Main Index | Thread Index | Old Index