Skip to content

Instantly share code, notes, and snippets.

@kisoku
Created August 11, 2009 08:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kisoku/165702 to your computer and use it in GitHub Desktop.
Save kisoku/165702 to your computer and use it in GitHub Desktop.
Index: ruby.port.mk
===================================================================
RCS file: /cvs/ports/lang/ruby/ruby.port.mk,v
retrieving revision 1.22
diff -u -p -r1.22 ruby.port.mk
--- ruby.port.mk 11 Aug 2009 07:27:30 -0000 1.22
+++ ruby.port.mk 11 Aug 2009 09:02:23 -0000
@@ -2,20 +2,21 @@
# ruby module
+CATEGORIES+= lang/ruby
+
MODRUBY_REV= 1.8
RUBY= ${LOCALBASE}/bin/ruby
-MODRUBY_RUN_DEPENDS+= ::lang/ruby
-MODRUBY_LIB_DEPENDS+= ruby.>=2::lang/ruby
-
-BUILD_DEPENDS+= ::lang/ruby
-RUN_DEPENDS+= ${MODRUBY_RUN_DEPENDS}
-
-CATEGORIES+= lang/ruby
+MODRUBY_LIB_DEPENDS= ruby.>=2::lang/ruby
+MODRUBY_RUN_DEPENDS= ::lang/ruby
+MODRUBY_BUILD_DEPENDS= ${MODRUBY_RUN_DEPENDS}
# location of ruby libraries
MODRUBY_LIBDIR= ${LOCALBASE}/lib/ruby
+
+BUILD_DEPENDS+= ${MODRUBY_BUILD_DEPENDS}
+RUN_DEPENDS+= ${MODRUBY_RUN_DEPENDS}
# common directories for ruby extensions
# used to create docs and examples install path
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment