summaryrefslogtreecommitdiff
path: root/databases/postgresql74/patches/patch-ab
blob: 28478818d872b03f3da1cf9bc6e968b45beafb95 (plain)
1
2
3
4
5
6
7
8
9
10
$NetBSD: patch-ab,v 1.2 2004/04/29 22:23:33 recht Exp $

--- src/template/netbsd.orig	2003-10-10 00:55:46.000000000 +0200
+++ src/template/netbsd	2004-04-29 15:05:29.000000000 +0200
@@ -1,2 +1,5 @@
 THREAD_SUPPORT=yes
 NEED_REENTRANT_FUNCS=yes	# 1.6 2003-09-14
+case $build in
+	*-netbsdelf[2-9]* | *-netbsdelf1.6[L-Z]* | *-netbsdelf1.6[A-Z][A-Z]* ) THREAD_CPPFLAGS="-pthread"; THREAD_LIBS="-pthread" ;;
+esac