summaryrefslogtreecommitdiffstats
path: root/net/gyach
diff options
context:
space:
mode:
authorvs <vs@FreeBSD.org>2004-08-31 14:13:14 +0000
committervs <vs@FreeBSD.org>2004-08-31 14:13:14 +0000
commit19e4ec2c15679790e452d60a8630082b8a48550a (patch)
tree1ac8dbad7a01419b10688f06bde2a3592b48aebc /net/gyach
parenta7d6c263cae9087a26322d0b13071eef710ee07c (diff)
downloadFreeBSD-ports-19e4ec2c15679790e452d60a8630082b8a48550a.zip
FreeBSD-ports-19e4ec2c15679790e452d60a8630082b8a48550a.tar.gz
- Update to 0.9.8
- Fix threading (me) PR: ports/68847 Submitted by: Aaron Myles Landwehr (maintainer)
Diffstat (limited to 'net/gyach')
-rw-r--r--net/gyach/Makefile13
-rw-r--r--net/gyach/distinfo4
-rw-r--r--net/gyach/files/patch-configure69
3 files changed, 75 insertions, 11 deletions
diff --git a/net/gyach/Makefile b/net/gyach/Makefile
index 985c68b..acf23ae 100644
--- a/net/gyach/Makefile
+++ b/net/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/gyach/distinfo b/net/gyach/distinfo
index 386d6f4..7921f7ec 100644
--- a/net/gyach/distinfo
+++ b/net/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/gyach/files/patch-configure b/net/gyach/files/patch-configure
new file mode 100644
index 0000000..cde9546
--- /dev/null
+++ b/net/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
OpenPOWER on IntegriCloud