aboutsummaryrefslogtreecommitdiff
path: root/Mk/bsd.ruby.mk
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2002-03-10 20:42:48 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2002-03-10 20:42:48 +0000
commitedf66fa8c3df710912b3131f4d763d21bf2953ad (patch)
tree553678f5a3e994386fd9f083172a091b50ec1b6c /Mk/bsd.ruby.mk
parent6839b317d90a8ca30e1ae87347d70f90d458ed6f (diff)
downloadports-edf66fa8c3df710912b3131f4d763d21bf2953ad.tar.gz
ports-edf66fa8c3df710912b3131f4d763d21bf2953ad.zip
Notes
Diffstat (limited to 'Mk/bsd.ruby.mk')
-rw-r--r--Mk/bsd.ruby.mk16
1 files changed, 9 insertions, 7 deletions
diff --git a/Mk/bsd.ruby.mk b/Mk/bsd.ruby.mk
index 1b2cdbaec7cf..d9a09e68158a 100644
--- a/Mk/bsd.ruby.mk
+++ b/Mk/bsd.ruby.mk
@@ -112,6 +112,15 @@ RUBY_DISTVERSION?= ${RUBY_VERSION}
#RUBY_PATCHFILES?= ruby-${RUBY_DISTVERSION}-yyyy.mm.dd.diff.bz2
RUBY_PORTVERSION?= ${RUBY_VERSION}
.endif
+# defined(RUBY_VER) && ${RUBY_VER} == 1.7
+
+RUBY_ARCH?= ${ARCH}-freebsd${OSREL:C/\..*//}${RUBY_R}
+RUBY_NAME?= ruby${RUBY_SUFFIX}
+
+_RUBY_SYSLIBDIR?= ${LOCALBASE}/lib
+_RUBY_SITEDIR?= ${_RUBY_SYSLIBDIR}/ruby/site_ruby
+.endif
+# defined(RUBY)
RUBY_DEFAULT_VER?= 1.6
RUBY_DEFAULT_SUFFIX?= ${RUBY_DEFAULT_VER:S/.//}
@@ -122,13 +131,6 @@ RUBY_DISTNAME?= ruby-${RUBY_DISTVERSION}
RUBY_WRKSRC?= ${WRKDIR}/${RUBY_DISTNAME}
-RUBY_ARCH?= ${ARCH}-freebsd${OSREL:C/\..*//}${RUBY_R}
-RUBY_NAME?= ruby${RUBY_SUFFIX}
-
-_RUBY_SYSLIBDIR?= ${LOCALBASE}/lib
-_RUBY_SITEDIR?= ${_RUBY_SYSLIBDIR}/ruby/site_ruby
-.endif
-
RUBY_VERSION_CODE?= ${RUBY_VERSION:S/.//g}
RUBY_VER= ${RUBY_VERSION:R}
_RUBY_SUFFIX= ${RUBY_VER:S/.//}${RUBY_R}