Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Apr 2004 19:00:56 -0500 (CDT)
From:      Jeremy Messenger <mezz7@cox.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/65834: Maintainer update: mark ruby-gtkglext in FreeBSD 4.x and fix ruby-gnome2-all for FreeBSD 4.x.
Message-ID:  <200404210000.i3L00urF049629@ns1.mezzweb.com>
Resent-Message-ID: <200404210030.i3L0UOeN071492@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         65834
>Category:       ports
>Synopsis:       Maintainer update: mark ruby-gtkglext in FreeBSD 4.x and fix ruby-gnome2-all for FreeBSD 4.x.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Apr 20 17:30:24 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Mezz
>Release:        FreeBSD 5.2-CURRENT i386
>Organization:
>Environment:
System: FreeBSD ns1.mezzweb.com 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Tue Mar 30
01:17:23 CST 2004 mezz@mezz.mezzweb.com:/usr/src/sys/i386/compile/BSDROCKS i386

>Description:
Mark INGORE x11-toolkits/ruby-gtkglext in FreeBSD 4.x and x11/ruby-gnome2-all
no run depend on x11-toolkits/ruby-gtkglext in FreeBSD 4.x. Because of thread
issue, which in FreeBSD 4.x, ruby can't be mix with and without thread in the
same place. FreeBSD 5.x doesn't has any of problem with this.

Discussed with:		knu

>How-To-Repeat:
n/a

>Fix:
This diff will affect on:
	-x11/ruby-gnome2-all
	-x11-toolkits/ruby-gtkglext

--- ruby-gtkglext.diff begins here ---
diff -ur x11-toolkits/ruby-gtkglext.orig/Makefile x11-toolkits/ruby-gtkglext/Makefile
--- x11-toolkits/ruby-gtkglext.orig/Makefile	Tue Apr 20 02:39:39 2004
+++ x11-toolkits/ruby-gtkglext/Makefile	Tue Apr 20 13:17:30 2004
@@ -21,8 +21,6 @@
 RUN_DEPENDS=	${RUBY_SITEARCHLIBDIR}/gtk2.so:${PORTSDIR}/x11-toolkits/ruby-gtk2 \
 		${RUBY_SITEARCHLIBDIR}/opengl.so:${PORTSDIR}/graphics/ruby-opengl
 
-BROKEN=		Broken dependency
-
 USE_RUBY=	yes
 USE_RUBY_EXTCONF=	yes
 USE_XLIB=	yes
@@ -35,6 +33,12 @@
 DOCS=		ChangeLog \
 		README
 
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500000
+IGNORE=	"Does not work on FreeBSD 4.x, because of thread issue with ruby-opengl and ruby-gnome2-all"
+.endif
+
 post-install:
 .if !defined(NOPORTDOCS)
 	${MKDIR} ${RUBY_MODEXAMPLESDIR}
@@ -45,4 +49,4 @@
 .endfor
 .endif
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff -ur x11/ruby-gnome2-all.orig/Makefile x11/ruby-gnome2-all/Makefile
--- x11/ruby-gnome2-all.orig/Makefile	Fri Apr  9 09:09:02 2004
+++ x11/ruby-gnome2-all/Makefile	Tue Apr 20 13:07:10 2004
@@ -23,7 +23,6 @@
 RUN_DEPENDS+=	${RUBY_SITEARCHLIBDIR}/gnomevfs.so:${PORTSDIR}/devel/ruby-gnomevfs
 #RUN_DEPENDS+=	${RUBY_SITEARCHLIBDIR}/gst.so:${PORTSDIR}/multimedia/ruby-gst
 RUN_DEPENDS+=	${RUBY_SITEARCHLIBDIR}/libgda.so:${PORTSDIR}/databases/ruby-libgda
-RUN_DEPENDS+=	${RUBY_SITEARCHLIBDIR}/gtkglext.so:${PORTSDIR}/x11-toolkits/ruby-gtkglext
 
 # ruby-gst, wait for update to support gstreamer 0.8 API/ABI.
 
@@ -33,7 +32,13 @@
 
 NO_BUILD=	yes
 
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} > 500000
+RUN_DEPENDS+=	${RUBY_SITEARCHLIBDIR}/gtkglext.so:${PORTSDIR}/x11-toolkits/ruby-gtkglext
+.endif
+
 do-install:
 	@${DO_NADA}
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
--- ruby-gtkglext.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200404210000.i3L00urF049629>