summaryrefslogtreecommitdiff
path: root/mk/tools
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2014-03-13 17:06:42 +0000
committertaca <taca@pkgsrc.org>2014-03-13 17:06:42 +0000
commit109bf3df96cec60111ffbc10c43f8d5b6d5b6900 (patch)
tree3d50a78f79066e49cfd996ad6ec21e718f75f3e8 /mk/tools
parentacc14fe6be841a32905b2c96665f62e48dc77d59 (diff)
downloadpkgsrc-109bf3df96cec60111ffbc10c43f8d5b6d5b6900.tar.gz
Refelect change of RUBY_SRCDIR.
Diffstat (limited to 'mk/tools')
-rw-r--r--mk/tools/replace.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/mk/tools/replace.mk b/mk/tools/replace.mk
index 58d12d9f0bd..3fa665d85cd 100644
--- a/mk/tools/replace.mk
+++ b/mk/tools/replace.mk
@@ -1,4 +1,4 @@
-# $NetBSD: replace.mk,v 1.268 2014/03/07 15:07:44 jperkin Exp $
+# $NetBSD: replace.mk,v 1.269 2014/03/13 17:06:43 taca Exp $
#
# Copyright (c) 2005 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -430,11 +430,11 @@ MAKEFLAGS+= TOOLS_IGNORE.gem=
. if !defined(RUBY_VER) || !empty(RUBY_VER:M18)
TOOLS_DEPENDS.gem?= ${RUBY_PKGPREFIX}-rubygems-[0-9]*:../../misc/rubygems
. else
-TOOLS_DEPENDS.gem?= ${RUBY_BASE}>=${RUBY_VERSION}:../../lang/${RUBY_BASE}
+TOOLS_DEPENDS.gem?= ${RUBY_BASE}>=${RUBY_VERSION}:${RUBY_SRCDIR}
. endif
TOOLS_CREATE+= gem
TOOLS_FIND_PREFIX+= TOOLS_PREFIX.gem=gem
-TOOLS_PATH.gem= ${TOOLS_PREFIX.gem}/bin/gem${RUBY_VER}
+TOOLS_PATH.gem= ${TOOLS_PREFIX.gem}/bin/gem${RUBY_SUFFIX}
. endif
.endif