1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00

KrossRuby can't be built with Ruby 1.9

Submitted by:		swills
This commit is contained in:
Max Brazhnikov 2011-07-07 18:01:44 +00:00
parent dca5c5a933
commit 8985a8ae02
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=277243
2 changed files with 12 additions and 2 deletions

View File

@ -48,4 +48,14 @@ post-install:
@${CAT} ${PKGMESSAGE}
.include "${.CURDIR}/../../devel/kdebindings4/files/Makefile.kdebindings"
.include <bsd.port.mk>
.include <bsd.port.pre.mk>
#KrossRuby is broken with Ruby 1.9, see http://bugs.kde.org/243565
.if ${RUBY_VER} == 1.9
CMAKE_ARGS+= -DENABLE_KROSSRUBY=OFF
PLIST_SUB+= KROSS="@comment "
.else
PLIST_SUB+= KROSS=""
.endif
.include <bsd.port.post.mk>

View File

@ -12,7 +12,7 @@ include/qtruby/marshall_primitives.h
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