summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortaca <taca>2011-06-19 00:48:24 +0000
committertaca <taca>2011-06-19 00:48:24 +0000
commit68140989d26b009fe727ca9bb7730c97b7457e40 (patch)
tree20c3c8d755dbaaab6c517bd91b1ddd4cfaeae50e
parentbdebeab43f46a6abfb3a960489b1ffaed118066a (diff)
downloadpkgsrc-68140989d26b009fe727ca9bb7730c97b7457e40.tar.gz
Fix build problem with ruby18-base. It was a kind of bootstrap
problem with rdoc itself. Noted by dholland@.
-rw-r--r--devel/ruby-rdoc/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/devel/ruby-rdoc/Makefile b/devel/ruby-rdoc/Makefile
index f0a0a246c40..725545275cf 100644
--- a/devel/ruby-rdoc/Makefile
+++ b/devel/ruby-rdoc/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2011/06/16 15:06:49 taca Exp $
+# $NetBSD: Makefile,v 1.2 2011/06/19 00:48:24 taca Exp $
DISTNAME= rdoc-${RUBY_RDOC_VERSION}
CATEGORIES= devel
@@ -8,6 +8,8 @@ HOMEPAGE= http://docs.seattlerb.org/rdoc
COMMENT= produces HTML and command-line documentation for Ruby projects
LICENSE= gnu-gpl-v2 OR ruby-license
+MAKE_ENV+= RUBYLIB=${RUBYGEM_INSTALL_ROOT}${PREFIX}/${GEM_LIBDIR}/lib
+
.include "../../lang/ruby/rdoc.mk"
.include "../../lang/ruby/gem.mk"
.include "../../mk/bsd.pkg.mk"