If 'USE_RUBY_EXTCONF=yes' is defined in Makefile of port, 'make stage' fails when it is executed by normal user. Attached patch fixes it.
Over to maintainers.
Created attachment 146168 [details] Fix staging error of normal user with 'USE_RUBY_EXTCONF=yes' Oops, I forgot to attach patch.
I have this patch, I think you don't need to conditionalize on uid Index: /usr/ports/Mk/bsd.ruby.mk =================================================================== --- /usr/ports/Mk/bsd.ruby.mk (revision 366094) +++ /usr/ports/Mk/bsd.ruby.mk (working copy) @@ -522,6 +522,7 @@ RUBY_EXTCONF?= extconf.rb CONFIGURE_ARGS+= --with-opt-dir="${LOCALBASE}" +CONFIGURE_ENV+= RB_USER_INSTALL=yes do-configure: ruby-extconf-configure
Created attachment 146261 [details] noneedroot
A commit references this bug: Author: antoine Date: Mon Aug 25 18:49:36 UTC 2014 New revision: 366129 URL: http://svnweb.freebsd.org/changeset/ports/366129 Log: Allow ports using ruby extconf to be built as non root PR: ports/191313 Changes: head/Mk/bsd.ruby.mk head/databases/postgresql-plruby/Makefile head/databases/ruby-bdb/Makefile head/devel/libpafe-ruby/Makefile head/graphics/ruby-gd/Makefile