Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Dec 2010 00:41:36 +0800
From:      Alexander Logvinov <avl@logvinov.com>
To:        ruby@freebsd.org
Subject:   RAKE_BIN and ruby19
Message-ID:  <4D177040.6020209@logvinov.com>

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

 It seems this a typo:

--- bsd.ruby.mk	22 Nov 2010 05:47:07 -0000	1.203
+++ bsd.ruby.mk	26 Dec 2010 16:32:33 -0000
@@ -551,7 +551,7 @@
 .if ${RUBY_VER} == 1.8
 RAKE_BIN=	${LOCALBASE}/bin/rake
 .else
-RAKE_BIN=	${GEM_LIB_DIR}/bin/rake${RUBY_VER:S/.//}
+RAKE_BIN=	${LOCALBASE}/bin/rake${RUBY_VER:S/.//}
 .endif
 .endif

 Also it can be:

--- bsd.ruby.mk	22 Nov 2010 05:47:07 -0000	1.203
+++ bsd.ruby.mk	26 Dec 2010 16:34:47 -0000
@@ -547,11 +547,11 @@
 .endif

 .if defined(USE_RAKE)
-BUILD_DEPENDS+=		${LOCALBASE}/bin/rake:${PORTSDIR}/devel/rubygem-rake
 .if ${RUBY_VER} == 1.8
 RAKE_BIN=	${LOCALBASE}/bin/rake
+BUILD_DEPENDS+=	${RAKE_BIN}:${PORTSDIR}/devel/rubygem-rake
 .else
-RAKE_BIN=	${GEM_LIB_DIR}/bin/rake${RUBY_VER:S/.//}
+RAKE_BIN=	${LOCALBASE}/bin/rake${RUBY_VER:S/.//}
 .endif
 .endif


 Without this portmaster wants to install devel/rubygem-rake:

$ sudo portmaster rubygem-passenger
...
===>>> The following actions will be taken if you choose to proceed:
	Re-install rubygem-passenger-3.0.2
	Install devel/rubygem-rake

-- 
Best regards,
Alexander




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