openbsd-ports/lang/ruby
jeremy 8a77d5f794 Don't build C extensions inside gems during the fake stage, instead
build them during the build stage and install them during fake.

devel/ruby-gems doesn't have separate build and install commands, as
most gems are pure ruby code and don't need a separate build stage.
When ruby-gems is installing a gem with C extensions, it builds them
during the install.  Since installing is done during the fake stage,
this meant that the extensions were getting built as root.

Previously, this was required, as gem's --user-install option was
broken.  However, since that option has now been fixed, we use
it to install the gem to a temporary location as the current
user during build, and then mv and chown the files during fake.

Thanks to bernd@ for pointing out that the fixed --user-install
option allowed this.

ok landry
2010-10-12 16:03:41 +00:00
..
1.8 Modify FileUtils.mkdir_p to behave more like mkdir(1) -p. Instead of 2010-10-12 15:39:06 +00:00
1.9 Modify FileUtils.mkdir_p to behave more like mkdir(1) -p. Instead of 2010-10-12 15:39:06 +00:00
Makefile Split the lang/ruby port into separate ports for ruby 1.8 and ruby 2010-09-23 21:58:50 +00:00
Makefile.inc Remove files that I checked out with -r HEAD 2010-09-23 22:04:13 +00:00
ruby.port.mk Don't build C extensions inside gems during the fake stage, instead 2010-10-12 16:03:41 +00:00