pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/databases/postgresql74 - Add check for the existence o...
details: https://anonhg.NetBSD.org/pkgsrc/rev/f5bbcde4bdf8
branches: trunk
changeset: 499167:f5bbcde4bdf8
user: hira <hira%pkgsrc.org@localhost>
date: Mon Sep 12 13:19:22 2005 +0000
description:
- Add check for the existence of directory before using it.
- Use ${ECHO} instead of echo.
diffstat:
databases/postgresql74/Makefile.common | 12 +++++++-----
1 files changed, 7 insertions(+), 5 deletions(-)
diffs (26 lines):
diff -r 6c31b22618dd -r f5bbcde4bdf8 databases/postgresql74/Makefile.common
--- a/databases/postgresql74/Makefile.common Mon Sep 12 12:58:48 2005 +0000
+++ b/databases/postgresql74/Makefile.common Mon Sep 12 13:19:22 2005 +0000
@@ -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 @@
${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 \
Home |
Main Index |
Thread Index |
Old Index