summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2015-03-12 14:59:57 +0000
committertaca <taca@pkgsrc.org>2015-03-12 14:59:57 +0000
commit13e1b465780edde3070b333fe23d3c91f4420430 (patch)
tree7c52766d26a03d6f4426caaba4062c5b282797b2
parent3603c6b968f514a6a2911f73c9c4b67a403dcb89 (diff)
downloadpkgsrc-13e1b465780edde3070b333fe23d3c91f4420430.tar.gz
Move RUBY_VERSION_SUPPORTED restriction from ruby-suikyo/Makefile to
suikyo/Makefile.common to restrict both packages ruby18 only.
-rw-r--r--textproc/ruby-suikyo/Makefile4
-rw-r--r--textproc/suikyo/Makefile.common4
2 files changed, 4 insertions, 4 deletions
diff --git a/textproc/ruby-suikyo/Makefile b/textproc/ruby-suikyo/Makefile
index 1a5a07a467f..8312316348f 100644
--- a/textproc/ruby-suikyo/Makefile
+++ b/textproc/ruby-suikyo/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2015/03/08 14:07:43 taca Exp $
+# $NetBSD: Makefile,v 1.6 2015/03/12 14:59:57 taca Exp $
#
.include "../../textproc/suikyo/Makefile.common"
@@ -18,8 +18,6 @@ DEPENDS+= suikyo-docs>=${SUIKYO_VER}:../../textproc/suikyo-docs
CONFLICTS+= ruby[1-9][0-9]-suikyo-*
BUILD_DIRS+= ruby
-RUBY_VERSION_SUPPORTED= 18
-
CONFIGURE_ARGS+= --with-rubydir=${PREFIX}/${RUBY_VENDORLIB}
.include "../../lang/ruby/modules.mk"
diff --git a/textproc/suikyo/Makefile.common b/textproc/suikyo/Makefile.common
index 31b7a15ef9f..981da2d4737 100644
--- a/textproc/suikyo/Makefile.common
+++ b/textproc/suikyo/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.4 2014/10/05 16:41:09 wiz Exp $
+# $NetBSD: Makefile.common,v 1.5 2015/03/12 14:59:57 taca Exp $
#
# used by textproc/ruby-suikyo/Makefile
# used by textproc/suikyo-docs/Makefile
@@ -20,3 +20,5 @@ LICENSE= gnu-gpl-v2
GNU_CONFIGURE= yes
USE_TOOLS+= pkg-config
USE_LANGUAGES= # none
+
+RUBY_VERSION_SUPPORTED= 18