diff options
author | jlam <jlam> | 2008-03-17 19:33:25 +0000 |
---|---|---|
committer | jlam <jlam> | 2008-03-17 19:33:25 +0000 |
commit | dec18c90d86cae4175a856749b3a89000d50bde5 (patch) | |
tree | b7371baed46d910a22a646bcd5f65c135500f180 /misc | |
parent | fd5bfe06a9e2b45070bdaeac706e57bb5ad85e52 (diff) | |
download | pkgsrc-dec18c90d86cae4175a856749b3a89000d50bde5.tar.gz |
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 (limited to 'misc')
-rw-r--r-- | misc/rubygems/rubygem.mk | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/misc/rubygems/rubygem.mk b/misc/rubygems/rubygem.mk index 92c397ce77d..9015446c171 100644 --- a/misc/rubygems/rubygem.mk +++ b/misc/rubygems/rubygem.mk @@ -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 @@ do-build: gem-build 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 \ |