Problem building a packing list when build process uses ruby, rake, gems

Mike Durian durian at
Tue Jan 9 22:37:42 UTC 2007

I'm having difficulty building a packing list for sipconfig.  It's
install process makes use of ruby and is dependant on rake and gems.
I can install normally if I don't define PREFIX, but when I do the
make install PREFIX=/var/tmp/$(make -V PORTNAME)

I get an error from rake:
gmake[2]: Entering directory 
builddir=`pwd`; \
        cd . && /usr/local/bin/rake builddir="$builddir" package && cd
/usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:204:in `report_activate_error': 
Could not find RubyGem rake (> 0) (Gem::LoadError)
        from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:141:in `activate'
        from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:37:in 
        from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:31:in `require_gem'
        from /usr/local/bin/rake:17

Does anyone have a work-around for this, or must I use find to produce a
list of everything under /usr/local, do the install without defining PREFIX
and then see what has been added?


More information about the freebsd-ports mailing list