From fuyuki@hadaly.org  Mon Apr 28 18:24:34 2003
Return-Path: <fuyuki@hadaly.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id AC83837B401
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 28 Apr 2003 18:24:33 -0700 (PDT)
Received: from t-mta4.odn.ne.jp (mfep4.odn.ne.jp [143.90.131.182])
	by mx1.FreeBSD.org (Postfix) with ESMTP id C7C1443F75
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 28 Apr 2003 18:24:32 -0700 (PDT)
	(envelope-from fuyuki@hadaly.org)
Received: from hadaly.dyndns.org ([143.90.80.33]) by t-mta4.odn.ne.jp
          with ESMTP
          id <20030429012432088.DAUS.13932.t-mta4.odn.ne.jp@mta4.odn.ne.jp>
          for <FreeBSD-gnats-submit@freebsd.org>;
          Tue, 29 Apr 2003 10:24:32 +0900
Received: from hadaly.dyndns.org (localhost [127.0.0.1])
	by hadaly.dyndns.org (Postfix) with ESMTP id 80B0C20D9
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 29 Apr 2003 10:24:31 +0900 (JST)
Message-Id: <86adea3xkg.wl%fuyuki@hadaly.org>
Date: Tue, 29 Apr 2003 10:24:31 +0900
From: Kimura Fuyuki <fuyuki@hadaly.org>
To: FreeBSD-gnats-submit@freebsd.org
Subject: Update port: devel/glib20 (pthread hack)

>Number:         51533
>Category:       ports
>Synopsis:       Update port: devel/glib20 (pthread hack)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 28 18:30:01 PDT 2003
>Closed-Date:    Tue Apr 29 09:27:37 PDT 2003
>Last-Modified:  Tue Apr 29 09:27:37 PDT 2003
>Originator:     Kimura Fuyuki <fuyuki@hadaly.org>
>Release:        FreeBSD 5.0-RELEASE-p7 i386
>Organization:
>Environment:

  FreeBSD hadaly.dyndns.org 5.0-RELEASE-p7 FreeBSD 5.0-RELEASE-p7 #5: Sun Apr 27 19:35:56 JST 2003     root@hadaly.dyndns.org:/.2/obj/usr/src/sys/NS  i386

>Description:
Just setting CONFIGURE_ENV does not the job, need to patch the
configure script.

See also the related PR's Audit-Trail:

http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/50402

>How-To-Repeat:

>Fix:
cvs server: Diffing .
cvs server: Diffing files
Index: files/patch-ae
===================================================================
RCS file: /home/ncvs/ports/devel/glib20/files/patch-ae,v
retrieving revision 1.25
diff -u -r1.25 patch-ae
--- files/patch-ae	2003/02/07 18:42:03	1.25
+++ files/patch-ae	2003/04/29 01:23:06
@@ -1,6 +1,6 @@
 --- configure.orig	Mon Dec  2 16:34:49 2002
 +++ configure	Tue Dec  3 18:21:22 2002
-@@ -11259,6 +11259,7 @@
+@@ -10176,6 +10176,7 @@
  
  # This can be used to rebuild libtool when needed
  LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
@@ -8,3 +8,12 @@
  
  # Always use our own libtool.
  LIBTOOL='$(SHELL) $(top_builddir)/libtool'
+@@ -17057,6 +17058,8 @@
+       fi
+     done
+   fi
++  G_THREAD_CFLAGS="${PTHREAD_CFLAGS}"
++  G_THREAD_LIBS="${PTHREAD_LIBS}"
+ 
+   if test x"$G_THREAD_CFLAGS" = x; then
+ 

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: marcus 
State-Changed-When: Tue Apr 29 09:26:10 PDT 2003 
State-Changed-Why:  
Committed, thanks!  However, this will only fix ruby-gnome2 on -CURRENT, I 
think.  On -STABLE, -pthread will not be passed to the linker for shared 
objects.  Therefore, I think ruby-gnome2 will still need to be explicitly 
linked against ${PTHREAD_LIBS}. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=51533 
>Unformatted:
