ports/65834: Maintainer update: mark ruby-gtkglext in FreeBSD 4.x and fix ruby-gnome2-all for FreeBSD 4.x.

Jeremy Messenger mezz7 at cox.net
Wed Apr 21 00:30:24 UTC 2004


>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 at 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:



More information about the freebsd-ports-bugs mailing list