freebsd-ports/lang/mono/files/patch-configure
Pav Lucistnik 1d45b6e08b - Don't hardcode shlib versions
- Libintl is not part of libc on FreeBSD

PR:		ports/70318
Submitted by:	Christopher Nehren <apeiron@comcast.net>
Approved by:	maintainer timeout (14 days)
2004-08-29 01:20:26 +00:00

29 lines
749 B
Plaintext

--- configure.orig Wed Jul 7 22:19:06 2004
+++ configure Wed Jul 7 22:35:38 2004
@@ -2020,10 +2020,10 @@
;;
*-*-*freebsd*|*-*-*openbsd*)
platform_win32=no
- CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE -DGC_FREEBSD_THREADS"
- libmono_cflags="-D_THREAD_SAFE"
- LDFLAGS="$LDFLAGS -pthread"
- libmono_ldflags="-pthread"
+ CPPFLAGS="$CPPFLAGS $PTHREAD_CFLAGS -DGC_FREEBSD_THREADS"
+ libmono_cflags="$PTHREAD_CFLAGS"
+ LDFLAGS="$LDFLAGS $PTHREAD_LIBS"
+ libmono_ldflags="$PTHREAD_LIBS"
need_link_unlink=yes
cat >>confdefs.h <<\_ACEOF
#define PTHREAD_POINTER_ID 1
@@ -14003,8 +14003,8 @@
ACCESS_UNALIGNED="yes"
JIT_SUPPORTED=no
-LIBC="libc.so.6"
-INTL="libc.so.6"
+LIBC="libc.so"
+INTL="libintl.so"
jit_wanted=false
case "$host" in