Summary: | [PATCH] Mk/bsd.ruby.mk: fix staging error of normal user with 'USE_RUBY_EXTCONF=yes' | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Yasuhiro Kimura <yasu> | ||||||
Component: | Ports Framework | Assignee: | freebsd-ruby (Nobody) <ruby> | ||||||
Status: | Closed FIXED | ||||||||
Severity: | Affects Some People | ||||||||
Priority: | --- | ||||||||
Version: | Latest | ||||||||
Hardware: | Any | ||||||||
OS: | Any | ||||||||
Attachments: |
|
Description
Yasuhiro Kimura
2014-06-23 14:32:15 UTC
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 |