Date: Sat, 5 Feb 2005 22:49:29 +0100 From: Michael Nottebrock <michaelnottebrock@gmx.net> To: "Jeremy Messenger" <mezz7@cox.net> 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 ... Message-ID: <200502052249.34648.michaelnottebrock@gmx.net> In-Reply-To: <opslqtx3fw9aq2h7@mezz.mezzweb.com> References: <200502050459.j154xROQ094820@repoman.freebsd.org> <opslqs6q0l9aq2h7@mezz.mezzweb.com> <opslqtx3fw9aq2h7@mezz.mezzweb.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--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 <mezz7@cox.net> wrot= e: > > On Sat, 5 Feb 2005 22:06:52 +0100, Michael Nottebrock > > > > <michaelnottebrock@gmx.net> 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 <bsd.port.pre.mk> =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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200502052249.34648.michaelnottebrock>