mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-09-08 03:44:13 -04:00
53 lines
2.0 KiB
Plaintext
53 lines
2.0 KiB
Plaintext
$NetBSD: patch-boehm-gc_configure,v 1.1 2014/01/25 13:38:48 ryoon Exp $
|
|
|
|
--- boehm-gc/configure.orig 2013-04-12 09:58:00.000000000 +0000
|
|
+++ boehm-gc/configure
|
|
@@ -10756,7 +10756,7 @@ netbsd*)
|
|
need_version=no
|
|
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
|
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
|
|
- finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
|
|
+ #finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
|
|
dynamic_linker='NetBSD (a.out) ld.so'
|
|
else
|
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
|
|
@@ -14480,7 +14480,7 @@ openbsd*)
|
|
*) need_version=no ;;
|
|
esac
|
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
|
|
- finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
|
|
+ #finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
|
|
shlibpath_var=LD_LIBRARY_PATH
|
|
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
|
|
case $host_os in
|
|
@@ -14855,6 +14855,11 @@ $as_echo "#define _REENTRANT 1" >>confde
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Only HP-UX 11 POSIX threads are supported.\"" >&5
|
|
$as_echo "$as_me: WARNING: \"Only HP-UX 11 POSIX threads are supported.\"" >&2;}
|
|
;;
|
|
+ *-*-openbsd*)
|
|
+ $as_echo "#define GC_OPENBSD_THREADS 1" >>confdefs.h
|
|
+ THREADLIBS=-pthread
|
|
+ INCLUDES="$INCLUDES -pthread"
|
|
+ ;;
|
|
*-*-kfreebsd*-gnu)
|
|
$as_echo "#define GC_FREEBSD_THREADS 1" >>confdefs.h
|
|
|
|
@@ -14995,7 +15000,6 @@ else
|
|
POWERPC_DARWIN_FALSE=
|
|
fi
|
|
|
|
-
|
|
# Darwin needs a few extra special tests to deal with variation in the
|
|
# system headers.
|
|
case "$host" in
|
|
@@ -15306,6 +15310,9 @@ $as_echo "#define DATASTART_IS_ETEXT 1"
|
|
sparc-*-netbsd*)
|
|
machdep="sparc_netbsd_mach_dep.lo"
|
|
;;
|
|
+ sparc*-*-openbsd*)
|
|
+ machdep="sparc_mach_dep.lo"
|
|
+ ;;
|
|
sparc-sun-solaris2.3)
|
|
machdep="sparc_mach_dep.lo"
|
|
|