Date: Fri, 20 Feb 2004 23:00:32 +0900 From: KATO Tsuguru <tkato@prontomail.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/63140: Update port: net/gnome-mud Message-ID: <20040220230032.68b8678a.tkato@prontomail.com> Resent-Message-ID: <200402201410.i1KEANKh029298@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 63140 >Category: ports >Synopsis: Update port: net/gnome-mud >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Feb 20 06:10:23 PST 2004 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: FreeBSD 4.9-RELEASE-p2 i386 >Organization: >Environment: >Description: - Fix build on -current New file: files/patch-configure >How-To-Repeat: >Fix: diff -urN /usr/ports/net/gnome-mud/Makefile net/gnome-mud/Makefile --- /usr/ports/net/gnome-mud/Makefile Thu Feb 19 19:15:52 2004 +++ net/gnome-mud/Makefile Thu Feb 19 19:22:01 2004 @@ -27,14 +27,8 @@ MAN6= gnome-mud.6 -.include <bsd.port.pre.mk> - -.if ${OSVERSION} >= 502102 -FORBIDDEN= "Links against conflicting thread libraries" -.endif - post-patch: @${REINPLACE_CMD} -e \ 's|prefix)/games|prefix)/bin|g' ${WRKSRC}/src/Makefile.in -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff -urN /usr/ports/net/gnome-mud/files/patch-configure net/gnome-mud/files/patch-configure --- /usr/ports/net/gnome-mud/files/patch-configure Thu Jan 1 09:00:00 1970 +++ net/gnome-mud/files/patch-configure Thu Feb 19 19:23:37 2004 @@ -0,0 +1,82 @@ +--- configure.orig Thu Feb 12 19:54:58 2004 ++++ configure Thu Feb 19 19:23:13 2004 +@@ -8645,79 +8645,6 @@ + fi + + +-echo "$as_me:$LINENO: checking for pthread_create in -lc_r" >&5 +-echo $ECHO_N "checking for pthread_create in -lc_r... $ECHO_C" >&6 +-if test "${ac_cv_lib_c_r_pthread_create+set}" = set; then +- echo $ECHO_N "(cached) $ECHO_C" >&6 +-else +- ac_check_lib_save_LIBS=$LIBS +-LIBS="-lc_r $LIBS" +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +- +-/* Override any gcc2 internal prototype to avoid an error. */ +-#ifdef __cplusplus +-extern "C" +-#endif +-/* We use char because int might match the return type of a gcc2 +- builtin and then its argument prototype would still apply. */ +-char pthread_create (); +-int +-main () +-{ +-pthread_create (); +- ; +- return 0; +-} +-_ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 +- (eval $ac_link) 2>conftest.er1 +- ac_status=$? +- grep -v '^ *+' conftest.er1 >conftest.err +- rm -f conftest.er1 +- cat conftest.err >&5 +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 +- (eval $ac_try) 2>&5 +- ac_status=$? +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); }; } && +- { ac_try='test -s conftest$ac_exeext' +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 +- (eval $ac_try) 2>&5 +- ac_status=$? +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); }; }; then +- ac_cv_lib_c_r_pthread_create=yes +-else +- echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +-ac_cv_lib_c_r_pthread_create=no +-fi +-rm -f conftest.err conftest.$ac_objext \ +- conftest$ac_exeext conftest.$ac_ext +-LIBS=$ac_check_lib_save_LIBS +-fi +-echo "$as_me:$LINENO: result: $ac_cv_lib_c_r_pthread_create" >&5 +-echo "${ECHO_T}$ac_cv_lib_c_r_pthread_create" >&6 +-if test $ac_cv_lib_c_r_pthread_create = yes; then +- cat >>confdefs.h <<_ACEOF +-#define HAVE_LIBC_R 1 +-_ACEOF +- +- LIBS="-lc_r $LIBS" +- +-fi +- +- + echo "$as_me:$LINENO: checking for openpty in -lutil" >&5 + echo $ECHO_N "checking for openpty in -lutil... $ECHO_C" >&6 + if test "${ac_cv_lib_util_openpty+set}" = set; then >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040220230032.68b8678a.tkato>