diff options
author | jschauma <jschauma@pkgsrc.org> | 2005-07-13 15:32:40 +0000 |
---|---|---|
committer | jschauma <jschauma@pkgsrc.org> | 2005-07-13 15:32:40 +0000 |
commit | 7e0ec1487719e5c435f6489242c7ee3c15d63700 (patch) | |
tree | 08f549531c95385ff730ffad9c6fbf101c5acceb /databases | |
parent | f1b3c540aed9caefc6e353b68b7f526ed6e77882 (diff) | |
download | pkgsrc-7e0ec1487719e5c435f6489242c7ee3c15d63700.tar.gz |
Specify template for IRIX
Diffstat (limited to 'databases')
-rw-r--r-- | databases/postgresql74/Makefile.common | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/databases/postgresql74/Makefile.common b/databases/postgresql74/Makefile.common index e41cdf46cbc..d929a433258 100644 --- a/databases/postgresql74/Makefile.common +++ b/databases/postgresql74/Makefile.common @@ -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 @@ PATCH_DIST_STRIP= -p1 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 @@ post-extract: ${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}; \ |