pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
lang/ruby200-base on MirBSD
Hey taca,
I tried fixing the build of lang/ruby200-base on MirBSD/i386. The
build breaks when compiling version.h because various string constants
(e.g. line 75) contain the unquoted word arch. When adding
-Darch=\"$(arch)\" to CFLAGS in Makefile.in, the build goes through,
but then the install gives:
installing binary commands: /bin
installing base libraries: /lib
installing arch files: /2.0.0/i386-mirbsd10
installing pkgconfig data: /lib/pkgconfig
installing extension objects: /2.0.0/i386-mirbsd10
installing extension objects: /site_ruby/2.0.0/i386-mirbsd10
installing extension objects: /vendor_ruby/2.0.0/i386-mirbsd10
installing extension headers: /usr/pkg/include/ruby-2.0.0/i386-mirbsd10
installing extension scripts: /2.0.0
installing extension scripts: /site_ruby/2.0.0
installing extension scripts: /vendor_ruby/2.0.0
installing extension headers: /usr/pkg/include/ruby-2.0.0/ruby
installing rdoc: /usr/pkg/share/ri/2.0.0/system
installing capi-docs: /usr/pkg/share/doc/ruby
installing command scripts: /bin
installing library scripts: /2.0.0
installing common headers: /usr/pkg/include/ruby-2.0.0
installing manpages: /usr/pkg/man/man1
installing default gems: /gems/2.0.0 (build_info, cache, doc,
gems, specifications)
bigdecimal 1.2.0
io-console 0.4.2
json 1.7.7
minitest 4.3.2
psych 2.0.0
rake 0.9.6
rdoc 4.0.0
test-unit 2.0.0.0
So something seems to be very fishy with the generated verconf.h, in
my humble opinion. FWIW, the contents of my verconf.h is
#define RUBY_BASE_NAME "ruby"
#define RUBY_VERSION_NAME RUBY_BASE_NAME"-"RUBY_LIB_VERSION
#define RUBY_LIB_VERSION "2.0.0"
#define RUBY_LIB_PREFIX ""
#define RUBY_ARCH_PREFIX_FOR(arch) ""
#define RUBY_SITEARCH_PREFIX_FOR(arch) ""
#define RUBY_LIB RUBY_LIB_PREFIX""RUBY_EXEC_PREFIX""arch""RUBY_LIB_VERSION
#define RUBY_ARCH_LIB_FOR(arch) RUBY_LIB""RUBY_EXEC_PREFIX""arch""arch
#define RUBY_SITE_LIB RUBY_LIB_PREFIX""RUBY_EXEC_PREFIX""arch"site_ruby"
#define RUBY_SITE_ARCH_LIB_FOR(arch)
RUBY_SITE_LIB2""RUBY_EXEC_PREFIX""arch""arch
#define RUBY_VENDOR_LIB RUBY_LIB_PREFIX""RUBY_EXEC_PREFIX""arch"vendor_ruby"
#define RUBY_VENDOR_ARCH_LIB_FOR(arch)
RUBY_VENDOR_LIB2""RUBY_EXEC_PREFIX""arch""arch
#define RUBY_PLATFORM "i386-mirbsd10"
Any ideas?
--Benny.
Home |
Main Index |
Thread Index |
Old Index