diff options
author | Stanislav Sedov <stas@FreeBSD.org> | 2007-04-03 21:57:49 +0000 |
---|---|---|
committer | Stanislav Sedov <stas@FreeBSD.org> | 2007-04-03 21:57:49 +0000 |
commit | 8752c350a7bcc5293cf3ace062c6c6f914f8cc04 (patch) | |
tree | 1001a7223dee85ee73b729ef1aaeb70a8f29ddfb /Mk | |
parent | ee2fdc714d8270e5159f55e0fb307f112c889543 (diff) | |
download | ports-8752c350a7bcc5293cf3ace062c6c6f914f8cc04.tar.gz ports-8752c350a7bcc5293cf3ace062c6c6f914f8cc04.zip |
Notes
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/bsd.ruby.mk | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/Mk/bsd.ruby.mk b/Mk/bsd.ruby.mk index 6a001eebc156..5ea913424289 100644 --- a/Mk/bsd.ruby.mk +++ b/Mk/bsd.ruby.mk @@ -159,12 +159,17 @@ _RUBY_SITEDIR!= ${_RUBY_CONFIG} 'puts C["sitedir"]' RUBY?= ${LOCALBASE}/bin/${RUBY_NAME} .if defined(RUBY_VER) && ${RUBY_VER} == 1.8 -RUBY_RELVERSION= 1.8.5 -RUBY_PATCHLEVEL= 12 +RUBY_RELVERSION= 1.8.6 +RUBY_PORTREVISION= 0 +RUBY_PATCHLEVEL= 0 + +.if ${RUBY_PATCHLEVEL} == 0 +RUBY_VERSION?= ${RUBY_RELVERSION} +RUBY_DISTVERSION?= ${RUBY_RELVERSION} +.else RUBY_VERSION?= ${RUBY_RELVERSION}.${RUBY_PATCHLEVEL} RUBY_DISTVERSION?= ${RUBY_RELVERSION}-p${RUBY_PATCHLEVEL} -RUBY_PORTREVISION= 1 -#RUBY_PATCHFILES?= ruby-${RUBY_DISTVERSION}-yyyy.mm.dd.diff.bz2 +.endif # Security patch RUBY_PATCHFILES?= ${RUBY_VERSION}-patch1.gz |