mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-03 17:59:07 -04:00
17 lines
461 B
Plaintext
17 lines
461 B
Plaintext
$NetBSD: patch-al,v 1.2 2011/05/14 18:00:24 wiz Exp $
|
|
|
|
--- libjava/configure.ac.orig 2011-02-25 16:08:27.000000000 +0100
|
|
+++ libjava/configure.ac
|
|
@@ -1011,6 +1011,11 @@
|
|
THREADLDFLAGS=-pthread
|
|
THREADSPEC=-lpthread
|
|
;;
|
|
+ *-*-netbsd*)
|
|
+ # NetBSD should work with pthread.
|
|
+ THREADLDFLAGS=-pthread
|
|
+ THREADSPEC=-lpthread
|
|
+ ;;
|
|
alpha*-dec-osf* | hppa*-hp-hpux*)
|
|
THREADCXXFLAGS=-pthread
|
|
# boehm-gc needs some functions from librt, so link that too.
|