This simple patch changes ruby 1.9 C extension gem building to actually
show the command lines, which should make it easier to diagnose causes
of port build failures.

I've tested this on a bulk of the ruby ports on amd64, with no fallout.

I plan to commit this in a few days unless I hear objections.

Thanks,
Jeremy

Index: lang/ruby/ruby.port.mk
===================================================================
RCS file: /cvs/ports/lang/ruby/ruby.port.mk,v
retrieving revision 1.51
diff -u -p -r1.51 ruby.port.mk
--- lang/ruby/ruby.port.mk      23 Sep 2012 16:56:15 -0000      1.51
+++ lang/ruby/ruby.port.mk      13 Oct 2012 13:07:47 -0000
@@ -390,6 +390,7 @@ MODRUBY_BUILD_TARGET = \
     cd ${_GEM_CONTENT} && tar -cf ${WRKDIR}/${_GEM_PATCHED} *.gz; \
     mkdir -p ${GEM_BASE}; \
     env -i ${MAKE_ENV} HOME=${GEM_BASE}/.. GEM_HOME=${GEM_BASE} \
+           make="make V=1" \
            ${GEM} install ${GEM_FLAGS} ${WRKDIR}/${_GEM_PATCHED} \
            -- ${CONFIGURE_ARGS}
 

Reply via email to