summaryrefslogtreecommitdiff
path: root/databases/postgresql74
diff options
context:
space:
mode:
Diffstat (limited to 'databases/postgresql74')
-rw-r--r--databases/postgresql74/Makefile.common12
1 files changed, 7 insertions, 5 deletions
diff --git a/databases/postgresql74/Makefile.common b/databases/postgresql74/Makefile.common
index d929a433258..aae761296f3 100644
--- a/databases/postgresql74/Makefile.common
+++ b/databases/postgresql74/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.25 2005/07/13 15:32:40 jschauma Exp $
+# $NetBSD: Makefile.common,v 1.26 2005/09/12 13:19:22 hira Exp $
#
# This Makefile fragment is included by all PostgreSQL packages built from
# the main sources of the PostgreSQL distribution except jdbc-postgresql.
@@ -94,10 +94,12 @@ post-extract:
${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};
+ if [ -d ${WRKSRC}/src/template ]; then \
+ ${ECHO} "THREAD_LIBS=\"-lpthread\"" >> \
+ ${WRKSRC}/src/template/${platform}; \
+ ${ECHO} "THREAD_SUPPORT=yes" >> \
+ ${WRKSRC}/src/template/${platform}; \
+ fi
.endfor
.for platform in interix3
if [ -d ${WRKSRC}/src/template ]; then \