[kde-freebsd] Re: ports/155169: devel/kdebindings4-ruby: fails to install krossruby.so
Steve Wills
swills at FreeBSD.org
Wed Jul 6 03:40:07 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, 05 Jul 2011 21:36:16 -0400
This is a multi-part message in MIME format.
--------------040209000008090009080207
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
Scratch that, that disables all of kdebindings for ruby, which isn't
necessary. Only krossruby is broken so the attached patch which just
disables krossruby is more appropriate, also available here:
http://people.freebsd.org/~swills/kde-ruby-fix2.patch.txt
Steve
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (FreeBSD)
iQEcBAEBAgAGBQJOE7wPAAoJEPXPYrMgexuhDtoH/1SMUI30+5Py5GYPhh1VUQVz
edR9OnZqGELSE09uyPxrcK5XFy1jBHHKyCvCxtn8+blqC8xGgPO+ZO1Bl49iGzC0
m9fPWQ52TPsnzf05zdd4rMN7JT+ZhdJweVp4oAu5Up1Yt3VCD2IS2vo5GKtW0vMh
KOGK/jmNtshNPn3YeeBT8HahZfdaQs4V9NmNElVnVHoyXQdTBGqHn8QOAHxe5iza
3L0VjGpqaSNsEzzQZarlOkP3Jc+hA4YXScogzsRKEMGT02xi3oWuovhcOTGF6xkl
AfkVMN/DKjOMCCdYp4+fF6rJhRhRngZr9KgActMeR5bgdTejGdlOg5wUdVqNMm0=
=nOlH
-----END PGP SIGNATURE-----
--------------040209000008090009080207
Content-Type: text/plain;
name="kde-ruby-fix2.patch.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="kde-ruby-fix2.patch.txt"
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/devel/kdebindings4-ruby/Makefile,v
retrieving revision 1.6
diff -u -r1.6 Makefile
--- Makefile 25 Mar 2011 10:33:49 -0000 1.6
+++ Makefile 6 Jul 2011 01:27:26 -0000
@@ -48,4 +48,11 @@
@${CAT} ${PKGMESSAGE}
.include "${.CURDIR}/../../devel/kdebindings4/files/Makefile.kdebindings"
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+.if ${RUBY_VER} == 1.9
+CMAKE_ARGS+= -DENABLE_KROSSRUBY=OFF
+PLIST_SUB+= KROSS="@comment "
+.else
+PLIST_SUB+= KROSS=""
+.endif
+.include <bsd.port.post.mk>
Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/devel/kdebindings4-ruby/pkg-plist,v
retrieving revision 1.3
diff -u -r1.3 pkg-plist
--- pkg-plist 25 Mar 2011 10:33:49 -0000 1.3
+++ pkg-plist 6 Jul 2011 01:27:38 -0000
@@ -12,7 +12,7 @@
include/qtruby/marshall_types.h
include/qtruby/qtruby.h
include/qtruby/smokeruby.h
-lib/kde4/krossruby.so
+%%KROSS%%lib/kde4/krossruby.so
lib/kde4/krubypluginfactory.so
lib/libqtruby4shared.so
lib/libqtruby4shared.so.2
--------------040209000008090009080207
Content-Type: application/octet-stream;
name="kde-ruby-fix2.patch.txt.sig"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename="kde-ruby-fix2.patch.txt.sig"
iQEcBAABAgAGBQJOE7wPAAoJEPXPYrMgexuhdKsH/A6xjky1UJw+iffc6iJw+7XGQ9wCyu2o
xzyVUWfYxE/Z8m0B4LB1YdO1Otinb/tGw0VMcTbbOjYWP6F2xzva4Rk5oTP68mTywkCDujzp
LfJdT+nltUsts/xRaHzmfCZXjb2lD7FtlAOQBUg5Lzeuk0RzuJkS4+kqi/2G53Do1alXKH0N
JnG/oKHb83YlB8te7Z5Uyr+EoogVIsK1tlEliapunlt7fHGpSNOXxE7iWni6idq/AAcwpJDi
HQAOprkNNr1sOwFCQTqPWscTvKt8KbDi81PIIdwRLCLZ/jFS9tOO6eeWzSSCqYACrmoGl8ut
oIyN4drCSPj+Ia+dAUQinUw=
--------------040209000008090009080207--
More information about the kde-freebsd
mailing list