diff options
author | swills <swills@FreeBSD.org> | 2011-10-28 22:55:12 +0800 |
---|---|---|
committer | swills <swills@FreeBSD.org> | 2011-10-28 22:55:12 +0800 |
commit | 28322d20214920b3a0eec66b8c31d3213e436c33 (patch) | |
tree | 40ec3201a1535f6462208f838e7cc6e38cc25f12 | |
parent | 3e0eea88498a3797d8cd93519f187b5585b7f8b4 (diff) | |
download | freebsd-ports-gnome-28322d20214920b3a0eec66b8c31d3213e436c33.tar.gz freebsd-ports-gnome-28322d20214920b3a0eec66b8c31d3213e436c33.tar.zst freebsd-ports-gnome-28322d20214920b3a0eec66b8c31d3213e436c33.zip |
- Add additional deps which rails wants when run under Ruby 1.9
-rw-r--r-- | www/rubygem-rails/Makefile | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/www/rubygem-rails/Makefile b/www/rubygem-rails/Makefile index abf6c7212124..f854043062d2 100644 --- a/www/rubygem-rails/Makefile +++ b/www/rubygem-rails/Makefile @@ -42,9 +42,9 @@ PLIST_FILES= bin/rails OPTIONS= \ FCGI "FastCGI backend" Off \ MONGREL "Mongrel backend" Off \ - MONGRELCLUSTER "Mongrel Cluster backend" Off \ + MONGRELCLUSTER "Mongrel Cluster backend" Off \ PASSENGER "Passenger backend" Off \ - MEMCACHE_CLIENT "MemCache-Client support" Off + MEMCACHE_CLIENT "MemCache-Client support" Off OPTIONSFILE= ${PORT_DBDIR}/rubygem-${PORTNAME}/options .include <bsd.port.options.mk> @@ -69,4 +69,10 @@ RUN_DEPENDS+= rubygem-mongrel_cluster>=1.0.5:${PORTSDIR}/www/rubygem-mongrel_clu RUN_DEPENDS+= rubygem-passenger>=2.2.15:${PORTSDIR}/www/rubygem-passenger .endif -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${RUBY_VER} == 1.9 +RUN_DEPENDS+= rubygem-turn>=0.8.3:${PORTSDIR}/devel/rubygem-turn +.endif + +.include <bsd.port.post.mk> |