View | Details | Raw Unified | Return to bug 63140
Collapse All | Expand All

(-)net/gnome-mud/Makefile (-7 / +1 lines)
Lines 27-40 Link Here
27
27
28
MAN6=		gnome-mud.6
28
MAN6=		gnome-mud.6
29
29
30
.include <bsd.port.pre.mk>
31
32
.if ${OSVERSION} >= 502102
33
FORBIDDEN=	"Links against conflicting thread libraries"
34
.endif
35
36
post-patch:
30
post-patch:
37
	@${REINPLACE_CMD} -e \
31
	@${REINPLACE_CMD} -e \
38
		's|prefix)/games|prefix)/bin|g' ${WRKSRC}/src/Makefile.in
32
		's|prefix)/games|prefix)/bin|g' ${WRKSRC}/src/Makefile.in
39
33
40
.include <bsd.port.post.mk>
34
.include <bsd.port.mk>
(-)net/gnome-mud/files/patch-configure (+82 lines)
Line 0 Link Here
1
--- configure.orig	Thu Feb 12 19:54:58 2004
2
+++ configure	Thu Feb 19 19:23:13 2004
3
@@ -8645,79 +8645,6 @@
4
 fi
5
 
6
 
7
-echo "$as_me:$LINENO: checking for pthread_create in -lc_r" >&5
8
-echo $ECHO_N "checking for pthread_create in -lc_r... $ECHO_C" >&6
9
-if test "${ac_cv_lib_c_r_pthread_create+set}" = set; then
10
-  echo $ECHO_N "(cached) $ECHO_C" >&6
11
-else
12
-  ac_check_lib_save_LIBS=$LIBS
13
-LIBS="-lc_r  $LIBS"
14
-cat >conftest.$ac_ext <<_ACEOF
15
-/* confdefs.h.  */
16
-_ACEOF
17
-cat confdefs.h >>conftest.$ac_ext
18
-cat >>conftest.$ac_ext <<_ACEOF
19
-/* end confdefs.h.  */
20
-
21
-/* Override any gcc2 internal prototype to avoid an error.  */
22
-#ifdef __cplusplus
23
-extern "C"
24
-#endif
25
-/* We use char because int might match the return type of a gcc2
26
-   builtin and then its argument prototype would still apply.  */
27
-char pthread_create ();
28
-int
29
-main ()
30
-{
31
-pthread_create ();
32
-  ;
33
-  return 0;
34
-}
35
-_ACEOF
36
-rm -f conftest.$ac_objext conftest$ac_exeext
37
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38
-  (eval $ac_link) 2>conftest.er1
39
-  ac_status=$?
40
-  grep -v '^ *+' conftest.er1 >conftest.err
41
-  rm -f conftest.er1
42
-  cat conftest.err >&5
43
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
44
-  (exit $ac_status); } &&
45
-	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
46
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47
-  (eval $ac_try) 2>&5
48
-  ac_status=$?
49
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
50
-  (exit $ac_status); }; } &&
51
-	 { ac_try='test -s conftest$ac_exeext'
52
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53
-  (eval $ac_try) 2>&5
54
-  ac_status=$?
55
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
56
-  (exit $ac_status); }; }; then
57
-  ac_cv_lib_c_r_pthread_create=yes
58
-else
59
-  echo "$as_me: failed program was:" >&5
60
-sed 's/^/| /' conftest.$ac_ext >&5
61
-
62
-ac_cv_lib_c_r_pthread_create=no
63
-fi
64
-rm -f conftest.err conftest.$ac_objext \
65
-      conftest$ac_exeext conftest.$ac_ext
66
-LIBS=$ac_check_lib_save_LIBS
67
-fi
68
-echo "$as_me:$LINENO: result: $ac_cv_lib_c_r_pthread_create" >&5
69
-echo "${ECHO_T}$ac_cv_lib_c_r_pthread_create" >&6
70
-if test $ac_cv_lib_c_r_pthread_create = yes; then
71
-  cat >>confdefs.h <<_ACEOF
72
-#define HAVE_LIBC_R 1
73
-_ACEOF
74
-
75
-  LIBS="-lc_r $LIBS"
76
-
77
-fi
78
-
79
-
80
 echo "$as_me:$LINENO: checking for openpty in -lutil" >&5
81
 echo $ECHO_N "checking for openpty in -lutil... $ECHO_C" >&6
82
 if test "${ac_cv_lib_util_openpty+set}" = set; then

Return to bug 63140