pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/databases/postgresql74-lib Only enable-thread safety o...
details: https://anonhg.NetBSD.org/pkgsrc/rev/3c142245ebf7
branches: trunk
changeset: 474289:3c142245ebf7
user: recht <recht%pkgsrc.org@localhost>
date: Tue Apr 27 11:54:20 2004 +0000
description:
Only enable-thread safety on systems which have native threads to avoid
pulling in pth.
Pointed out by seb@.
diffstat:
databases/postgresql74-lib/Makefile | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (26 lines):
diff -r 5003742f2b6d -r 3c142245ebf7 databases/postgresql74-lib/Makefile
--- a/databases/postgresql74-lib/Makefile Tue Apr 27 11:45:07 2004 +0000
+++ b/databases/postgresql74-lib/Makefile Tue Apr 27 11:54:20 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2004/04/25 23:14:40 seb Exp $
+# $NetBSD: Makefile,v 1.4 2004/04/27 11:54:20 recht Exp $
PKGNAME= postgresql-lib-${BASE_VERS}
PKGREVISION= 1
@@ -17,7 +17,9 @@
# As told by Josh Berkus
# currently broken for SunOS, will be fixed in 7.4.3
-.if (${OPSYS} != "SunOS")
+.include "../../mk/pthread.buildlink3.mk"
+.if defined(PTHREAD_TYPE) && ${PTHREAD_TYPE} == "native" \
+ && ${OPSYS} != "SunOS"
CONFIGURE_ARGS+= --enable-thread-safety
.endif
@@ -45,5 +47,4 @@
-f ${WRKSRC}/doc/man.tar.gz
.include "../../security/openssl/buildlink3.mk"
-.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index