RAKE_BIN and ruby19
Alexander Logvinov
avl at logvinov.com
Sun Dec 26 17:07:51 UTC 2010
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
More information about the freebsd-ruby
mailing list