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
Documentation for the ports tree: ports(7), packages(7), mirroring-ports(7), library-specs(7), bsd.port.mk(5), port-modules(5). See also the OpenBSD Porter's Handbook http://www.openbsd.org/faq/ports/ $OpenBSD: README,v 1.19 2010/08/31 03:28:43 lum Exp $
Description
Public git conversion mirror of OpenBSD's official cvs ports repository. Pull requests not accepted - send diffs to the ports@ mailing list.
Languages
Makefile
61%
PHP
18.9%
Perl
6.5%
C
4.6%
HTML
2.3%
Other
6.4%