aboutsummaryrefslogtreecommitdiff
path: root/devel/ruby-gems/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/ruby-gems/Makefile')
-rw-r--r--devel/ruby-gems/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/devel/ruby-gems/Makefile b/devel/ruby-gems/Makefile
index 513fd5482bde..347d07ad79c5 100644
--- a/devel/ruby-gems/Makefile
+++ b/devel/ruby-gems/Makefile
@@ -27,10 +27,16 @@ NO_BUILD= yes
PLIST_SUB+= DISTNAME="${DISTNAME}"
+.include <bsd.port.pre.mk>
+
+.if ${RUBY_VER} == 1.9
+IGNORE= already included in this ruby distribution
+.endif
+
do-install:
cd ${WRKSRC}; ${RUBY} ${RUBY_SETUP}
post-install:
@${LN} -sf ${PREFIX}/bin/gem18 ${PREFIX}/bin/gem
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>