diff options
author | Philip M. Gollucci <pgollucci@FreeBSD.org> | 2010-08-31 03:28:05 +0000 |
---|---|---|
committer | Philip M. Gollucci <pgollucci@FreeBSD.org> | 2010-08-31 03:28:05 +0000 |
commit | d2e84b418d3dcf7df02eb196cba4a91b8a909e4c (patch) | |
tree | 188bc290b5f03ec07daf32bd2fbe2e6dce1f91cc /Mk | |
parent | 4e2a10c5ee9c1a005f00cc78b0e0e0d0a1fe23b5 (diff) | |
download | ports-d2e84b418d3dcf7df02eb196cba4a91b8a909e4c.tar.gz ports-d2e84b418d3dcf7df02eb196cba4a91b8a909e4c.zip |
Notes
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/bsd.ruby.mk | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/Mk/bsd.ruby.mk b/Mk/bsd.ruby.mk index e9458242572f..520fd5ee9c6d 100644 --- a/Mk/bsd.ruby.mk +++ b/Mk/bsd.ruby.mk @@ -137,6 +137,7 @@ Ruby_Include_MAINTAINER= stas@FreeBSD.org # RUBY_DEFAULT_VER?= 1.8 +RAKE_VER= 0.8.7 RUBY_VER?= ${RUBY_DEFAULT_VER} @@ -534,12 +535,12 @@ RUN_DEPENDS+= ${DEPEND_RUBY_ICONV} .endif .if defined(USE_RAKE) -. if ${RUBY_VER} == 1.8 BUILD_DEPENDS+= ${LOCALBASE}/bin/rake:${PORTSDIR}/devel/rubygem-rake -RAKE_BIN= ${LOCALBASE}/bin/rake -. else -RAKE_BIN= ${LOCALBASE}/bin/${RUBY_VER:S/.//} -. endif +.if ${RUBY_VER} == 1.8 +RAKE_BIN= ${LOCALBASE}/bin/rake +.else +RAKE_BIN= ${GEM_LIB_DIR}/bin/rake${RUBY_VER:S/.//} +.endif .endif .if defined(USE_RUBY_AMSTD) |