diff options
author | vs <vs@FreeBSD.org> | 2004-08-31 22:13:14 +0800 |
---|---|---|
committer | vs <vs@FreeBSD.org> | 2004-08-31 22:13:14 +0800 |
commit | 19e4ec2c15679790e452d60a8630082b8a48550a (patch) | |
tree | 1ac8dbad7a01419b10688f06bde2a3592b48aebc /net-im/gyach | |
parent | a7d6c263cae9087a26322d0b13071eef710ee07c (diff) | |
download | freebsd-ports-gnome-19e4ec2c15679790e452d60a8630082b8a48550a.tar.gz freebsd-ports-gnome-19e4ec2c15679790e452d60a8630082b8a48550a.tar.zst freebsd-ports-gnome-19e4ec2c15679790e452d60a8630082b8a48550a.zip |
- Update to 0.9.8
- Fix threading (me)
PR: ports/68847
Submitted by: Aaron Myles Landwehr (maintainer)
Diffstat (limited to 'net-im/gyach')
-rw-r--r-- | net-im/gyach/Makefile | 13 | ||||
-rw-r--r-- | net-im/gyach/distinfo | 4 | ||||
-rw-r--r-- | net-im/gyach/files/patch-configure | 69 |
3 files changed, 75 insertions, 11 deletions
diff --git a/net-im/gyach/Makefile b/net-im/gyach/Makefile index 985c68b3e5b3..acf23aed2fc1 100644 --- a/net-im/gyach/Makefile +++ b/net-im/gyach/Makefile @@ -6,8 +6,7 @@ # PORTNAME= gyach -PORTVERSION= 0.9.7 -PORTREVISION= 2 +PORTVERSION= 0.9.8 CATEGORIES= net MASTER_SITES= http://www4.infi.net/~cpinkham/gyach/code/ @@ -15,13 +14,9 @@ MAINTAINER?= aaron@snaphat.com COMMENT= Gyach is a GTK+ based Yahoo! Chat client GNU_CONFIGURE= yes +CONFIGURE_ENV= CFLAGS="${CFLAGS} ${PTHREAD_FLAGS}" \ + LDFLAGS="${LDFLAGS} ${PTHREAD_LIBS}" USE_GNOME= gtk20 USE_X_PREFIX= yes -.include <bsd.port.pre.mk> - -.if ${OSVERSION} >= 502102 -FORBIDDEN= "Links against conflicting thread libraries" -.endif - -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/net-im/gyach/distinfo b/net-im/gyach/distinfo index 386d6f433d0a..7921f7ecf0ee 100644 --- a/net-im/gyach/distinfo +++ b/net-im/gyach/distinfo @@ -1,2 +1,2 @@ -MD5 (gyach-0.9.7.tar.gz) = ee473860f48ecdaed837dc1a6204574b -SIZE (gyach-0.9.7.tar.gz) = 323904 +MD5 (gyach-0.9.8.tar.gz) = f14f825c2d1decc9837084a54e1453d0 +SIZE (gyach-0.9.8.tar.gz) = 324043 diff --git a/net-im/gyach/files/patch-configure b/net-im/gyach/files/patch-configure new file mode 100644 index 000000000000..cde95466d9fc --- /dev/null +++ b/net-im/gyach/files/patch-configure @@ -0,0 +1,69 @@ +--- configure.orig Wed Jul 14 14:42:28 2004 ++++ configure Wed Jul 14 14:42:53 2004 +@@ -4042,66 +4042,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 +-#line $LINENO "configure" +-#include "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 (); +-#ifdef F77_DUMMY_MAIN +-# ifdef __cplusplus +- extern "C" +-# endif +- int F77_DUMMY_MAIN() { return 1; } +-#endif +-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>&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 +-cat conftest.$ac_ext >&5 +-ac_cv_lib_c_r_pthread_create=no +-fi +-rm -f 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 +- LIBS="$LIBS -lc_r" +-fi +- +- + if test "x${datadir}" = 'x${prefix}/share'; then + if test "x${prefix}" = "xNONE"; then + cat >>confdefs.h <<_ACEOF |