pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/misc/rubygems Pass MAKE_ENV to the build process when ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/003112b8b322
branches: trunk
changeset: 539952:003112b8b322
user: jlam <jlam%pkgsrc.org@localhost>
date: Mon Mar 17 19:33:25 2008 +0000
description:
Pass MAKE_ENV to the build process when building the gem from the
unpacked sources. This fixes certain checks for $HOME, $PATH and the
like.
diffstat:
misc/rubygems/rubygem.mk | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (23 lines):
diff -r fb83d6d2cb22 -r 003112b8b322 misc/rubygems/rubygem.mk
--- a/misc/rubygems/rubygem.mk Mon Mar 17 19:03:35 2008 +0000
+++ b/misc/rubygems/rubygem.mk Mon Mar 17 19:33:25 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: rubygem.mk,v 1.20 2008/03/14 16:41:21 jlam Exp $
+# $NetBSD: rubygem.mk,v 1.21 2008/03/17 19:33:25 jlam Exp $
#
# This Makefile fragment is intended to be included by packages that build
# and install Ruby gems.
@@ -156,10 +156,11 @@
gem-build: gem-${GEM_BUILD}-build
gem-gemspec-build:
- ${RUN} cd ${WRKSRC} && ${RUBYGEM} build ${_GEMSPEC_FILE}
+ ${RUN} cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \
+ ${RUBYGEM} build ${_GEMSPEC_FILE}
gem-rake-build:
- ${RUN} cd ${WRKSRC} && ${RAKE} gem
+ ${RUN} cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${RAKE} gem
${RUN} cd ${WRKSRC} && rm -f ${GEM_NAME}.gem
${RUN} cd ${WRKSRC} && find . -name ${GEM_NAME}.gem -print | \
while read file; do \
Home |
Main Index |
Thread Index |
Old Index