[kde-freebsd] Re: ports/155169: devel/kdebindings4-ruby: fails to install krossruby.so
Steve Wills
swills at FreeBSD.org
Tue Jul 5 22:30:13 CEST 2011
The following reply was made to PR ports/155169; it has been noted by GNATS.
From: Steve Wills <swills at FreeBSD.org>
To: bug-followup at FreeBSD.org, swhetzel at gmail.com
Cc:
Subject: Re: ports/155169: devel/kdebindings4-ruby: fails to install krossruby.so
Date: Tue, 5 Jul 2011 20:22:36 +0000
--NMuMz9nt05w80d4+
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Hi,
This is an upstream bug. Please see:
http://lists.kde.org/?l=kde-devel&m=127825525824069&w=2
and
https://bugs.kde.org/show_bug.cgi?id=243565
Until it is fixed, the attached patch should avoid the issue. I would like to see this commited soon so that the default Ruby can be changed to 1.9.
Patch is also available here:
http://people.freebsd.org/~swills/kde-ruby-fix.patch.txt
Thanks,
Steve
--NMuMz9nt05w80d4+
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="kde-ruby-fix.patch.txt"
Index: devel/kdebindings4/Makefile
===================================================================
RCS file: /home/ncvs/ports/devel/kdebindings4/Makefile,v
retrieving revision 1.12
diff -u -r1.12 Makefile
--- devel/kdebindings4/Makefile 25 Mar 2011 10:33:48 -0000 1.12
+++ devel/kdebindings4/Makefile 5 Jul 2011 20:02:49 -0000
@@ -7,6 +7,7 @@
PORTNAME= kdebindings
PORTVERSION= ${KDE4_VERSION}
+PORTREVISION= 1
CATEGORIES= devel kde
MASTER_SITES= # empty
DISTFILES= # none
@@ -22,7 +23,7 @@
# OPTIONS+= JAVA "Java bindings" on
# OPTIONS+= PHP "PHP bindings" on
OPTIONS+= PYTHON "Python bindings" on
-OPTIONS+= RUBY "Ruby bindings" on
+OPTIONS+= RUBY "Ruby bindings" off
.include <bsd.port.options.mk>
@@ -44,6 +45,10 @@
.if !defined(WITHOUT_RUBY)
RUN_DEPENDS+= ${KDE4_PREFIX}/bin/krubyapplication:${PORTSDIR}/devel/kdebindings4-ruby
+.include "${PORTDIR}/Mk/bsd.ruby.mk"
+.if ${RUBY_VER} == 1.9
+BROKEN= Ruby KDE bindings do not work with Ruby 1.9, please disable it or use Ruby 1.8.
+.endif
.endif
do-install:
Index: devel/kdebindings4-ruby/Makefile
===================================================================
RCS file: /home/ncvs/ports/devel/kdebindings4-ruby/Makefile,v
retrieving revision 1.6
diff -u -r1.6 Makefile
--- devel/kdebindings4-ruby/Makefile 25 Mar 2011 10:33:49 -0000 1.6
+++ devel/kdebindings4-ruby/Makefile 5 Jul 2011 19:55:17 -0000
@@ -48,4 +48,8 @@
@${CAT} ${PKGMESSAGE}
.include "${.CURDIR}/../../devel/kdebindings4/files/Makefile.kdebindings"
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+.if ${RUBY_VER} == 1.9
+BROKEN= does not build with ruby 1.9
+.endif
+.include <bsd.port.post.mk>
--NMuMz9nt05w80d4+--
More information about the kde-freebsd
mailing list