summaryrefslogtreecommitdiff
path: root/www/redmine
diff options
context:
space:
mode:
authorMark Linimon <linimon@FreeBSD.org>2011-12-17 03:26:22 +0000
committerMark Linimon <linimon@FreeBSD.org>2011-12-17 03:26:22 +0000
commite2ec2feed5e5775c9850623d7fd8d46a07d0faa8 (patch)
tree6532b814af0a1823226fd8ff2df0a4b4ebc2a60f /www/redmine
parent- point at the correct port locations (diff)
Work around duplicate ruby 1.8/1.9 dependency if RUBY_VER is 1.9.
Discussed with: pgollucci
Notes
Notes: svn path=/head/; revision=287520
Diffstat (limited to 'www/redmine')
-rw-r--r--www/redmine/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/www/redmine/Makefile b/www/redmine/Makefile
index 2f9dbcf8da17..9df54d716441 100644
--- a/www/redmine/Makefile
+++ b/www/redmine/Makefile
@@ -18,7 +18,11 @@ COMMENT= A flexible project management web application
RUN_DEPENDS= rackup:${PORTSDIR}/www/rubygem-rack \
rubygem-i18n>=0.4.2:${PORTSDIR}/devel/rubygem-i18n
+.if defined(RUBY_VER) && ${RUBY_VER} != "1.8"
+IGNORE= requires ruby1.8, but you have RUBY_VER set to 1.9
+.else
RUBY_VER= 1.8
+.endif
USE_RUBY= yes
USE_RUBY_FEATURES= iconv
USE_RAKE= yes