diff options
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}; \ |