From owner-cvs-ports@FreeBSD.ORG Sat Feb 5 21:49:43 2005 Return-Path: Delivered-To: cvs-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D0BAA16A4D1 for ; Sat, 5 Feb 2005 21:49:42 +0000 (GMT) Received: from mail.gmx.net (pop.gmx.de [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 0067243D41 for ; Sat, 5 Feb 2005 21:49:41 +0000 (GMT) (envelope-from michaelnottebrock@gmx.net) Received: (qmail invoked by alias); 05 Feb 2005 21:49:39 -0000 Received: from pD955F1DE.dip.t-dialin.net (EHLO lofi.dyndns.org) (217.85.241.222) by mail.gmx.net (mp005) with SMTP; 05 Feb 2005 22:49:39 +0100 X-Authenticated: #443188 Received: from [192.168.8.4] (lofi@kiste.my.domain [192.168.8.4]) (authenticated bits=0) by lofi.dyndns.org (8.12.10/8.12.10) with ESMTP id j15LnZc7022405 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Sat, 5 Feb 2005 22:49:36 +0100 (CET) (envelope-from michaelnottebrock@gmx.net) From: Michael Nottebrock To: "Jeremy Messenger" Date: Sat, 5 Feb 2005 22:49:29 +0100 User-Agent: KMail/1.7.2 References: <200502050459.j154xROQ094820@repoman.freebsd.org> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1505315.IXs9NrOKKn"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200502052249.34648.michaelnottebrock@gmx.net> X-Virus-Scanned: by amavisd-new X-Y-GMX-Trusted: 0 cc: cvs-ports@freebsd.org cc: cvs-all@freebsd.org cc: Akinori MUSHA cc: ports-committers@freebsd.org Subject: Re: cvs commit: ports/Mk bsd.ruby.mk ports/lang Makefile ports UPDATING ports/lang/ruby18 Makefile pkg-plist ports/lang/ruby18_r Makefile ports/lang/ruby16 Makefile pkg-plist ports/lang/ruby16_r Makefile ports/devel/ruby-gnustep Makefile ... X-BeenThere: cvs-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Feb 2005 21:49:43 -0000 --nextPart1505315.IXs9NrOKKn Content-Type: multipart/mixed; boundary="Boundary-01=_s9TBC+gcS/faVYL" Content-Transfer-Encoding: 7bit Content-Disposition: inline --Boundary-01=_s9TBC+gcS/faVYL Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Saturday, 5. February 2005 22:28, Jeremy Messenger wrote: > On Sat, 05 Feb 2005 15:12:16 -0600, Jeremy Messenger wrot= e: > > On Sat, 5 Feb 2005 22:06:52 +0100, Michael Nottebrock > > > > wrote: > >> On Saturday, 5. February 2005 21:44, Jeremy Messenger wrote: > >>> Works, but I now get loads of weird warning. Without patch, I don't > >>> get =C2=A0 > >>> any warning. > >> > >> What program are you seeing this warning with (and on which FreeBSD > >> version)? > > > > ruby-gtk2/ruby-gnome2 example files in > > ${LOCALBASE}/share/examples/ruby18/ and few other ruby-gtk2 apps that > > aren't in ports. As for FreeBSD version, it's a few hours of RELENG_5. > > Hold on, I think I have found a patch to fix ruby-glib2 for ruby 1.8.x.. > It was insteresting that it finally complain with your patch, maybe your > patch makes ruby 1.8.x to use something new. Okay (I really have no idea how my patch could trigger this). FWIW, I found= I=20 missed one config.h entry in my patch, here's an update. =2D-=20 ,_, | Michael Nottebrock | lofi@freebsd.org (/^ ^\) | FreeBSD - The Power to Serve | http://www.freebsd.org \u/ | K Desktop Environment on FreeBSD | http://freebsd.kde.org --Boundary-01=_s9TBC+gcS/faVYL Content-Type: text/plain; charset="utf-8"; name="ruby18.diff" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline; filename="ruby18.diff" Index: Makefile =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /home/pcvs/ports/lang/ruby18/Makefile,v retrieving revision 1.83 diff -u -r1.83 Makefile =2D-- Makefile 5 Feb 2005 04:59:24 -0000 1.83 +++ Makefile 5 Feb 2005 21:48:45 -0000 @@ -7,7 +7,7 @@ =20 PORTNAME=3D ruby PORTVERSION=3D ${RUBY_PORTVERSION} =2DPORTREVISION=3D 2 +PORTREVISION=3D 3 CATEGORIES=3D lang ruby ipv6 MASTER_SITES=3D ${MASTER_SITE_RUBY} MASTER_SITE_SUBDIR=3D ${MASTER_SITE_SUBDIR_RUBY} @@ -58,12 +58,10 @@ LATEST_LINK=3D ruby-devel =20 .include =2D.if ${OSVERSION} >=3D 502102 RUBY_ENABLE_PTHREAD?=3D public demand =2D.endif =20 .if defined(RUBY_ENABLE_PTHREAD) && ${RUBY_ENABLE_PTHREAD} !=3D "no" =2DCONFIGURE_ARGS+=3D --enable-pthread +CONFIGURE_ENV+=3D CFLAGS=3D"${CFLAGS} ${PTHREAD_CFLAGS}" LDFLAGS=3D"${LDFL= AGS} ${PTHREAD_LIBS}" =20 # There seems to be a bug in either gcc or libpthread that gets # (mini)ruby to malfunction.. @@ -150,6 +148,9 @@ .endif ${TOUCH} ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT} =20 +post-configure: + ${ECHO_CMD} -e "#define _REENTRANT 1\n#define _THREAD_SAFE 1\n#define HAV= E_LIBPTHREAD 1\n#define HAVE_NANOSLEEP 1" >> ${WRKSRC}/config.h + post-install: .if defined(STRIP) && ${STRIP} =3D=3D -s ${STRIP_CMD} ${RUBY} --Boundary-01=_s9TBC+gcS/faVYL-- --nextPart1505315.IXs9NrOKKn Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQBCBT9uXhc68WspdLARAjGBAJ9mGhlCFpQaujtOZWJprrJ+f7k9XQCeNrYm sCPB+ztRE5BqvdB9/bOfPwc= =Yews -----END PGP SIGNATURE----- --nextPart1505315.IXs9NrOKKn--