Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.1
libcaca
libcaca-ruby_vendor_install.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libcaca-ruby_vendor_install.patch of Package libcaca
Index: configure.ac =================================================================== --- configure.ac.orig 2012-05-14 11:56:04.447928052 +0200 +++ configure.ac 2012-05-14 12:03:02.562272828 +0200 @@ -465,14 +465,17 @@ if test "${enable_ruby}" != "no"; then AC_PATH_PROG(RUBY, ruby, no) if test "${RUBY}" != "no"; then - RUBY_CFLAGS="$(ruby -r mkmf -e 'conf = RbConfig::CONFIG.merge("hdrdir" => $hdrdir, "arch_hdrdir" => $arch_hdrdir); print RbConfig::expand("#$INCFLAGS", conf)')" + RUBY_CFLAGS=$(pkg-config --cflags ruby-1.9) + if test -z "$RUBY_CFLAGS"; then + RUBY_CFLAGS="-I$(ruby -r rbconfig -e 'print RbConfig::CONFIG@<:@"archdir"@:>@')" + fi RUBY_LIBS="-L$(ruby -r rbconfig -e 'print RbConfig::CONFIG@<:@"libdir"@:>@') -l$(ruby -r rbconfig -e 'print RbConfig::CONFIG@<:@"RUBY_SO_NAME"@:>@')" - RUBY_SITEARCHDIR=`ruby -r rbconfig -e 'print RbConfig::CONFIG@<:@"sitearchdir"@:>@'` - RUBY_SITELIBDIR=`ruby -r rbconfig -e 'print RbConfig::CONFIG@<:@"sitelibdir"@:>@'` + RUBY_VENDORARCHDIR=`ruby -r rbconfig -e 'print RbConfig::CONFIG@<:@"vendorarchdir"@:>@'` + RUBY_VENDORLIBDIR=`ruby -r rbconfig -e 'print RbConfig::CONFIG@<:@"vendorlibdir"@:>@'` AC_SUBST(RUBY_CFLAGS) AC_SUBST(RUBY_LIBS) - AC_SUBST(RUBY_SITEARCHDIR) - AC_SUBST(RUBY_SITELIBDIR) + AC_SUBST(RUBY_VENDORARCHDIR) + AC_SUBST(RUBY_VENDORLIBDIR) CPPFLAGS="${CPPFLAGS} ${RUBY_CFLAGS}" AC_CHECK_HEADERS([ruby.h], [ac_cv_my_have_ruby="yes" Index: ruby/Makefile.am =================================================================== --- ruby/Makefile.am.orig 2012-05-14 11:56:04.460927441 +0200 +++ ruby/Makefile.am 2012-05-14 11:56:04.474926783 +0200 @@ -1,10 +1,10 @@ -rubylibdir = $(RUBY_SITEARCHDIR) -rubysitedir = $(RUBY_SITELIBDIR) +rubylibdir = $(RUBY_VENDORARCHDIR) +rubyvendordir = $(RUBY_VENDORLIBDIR) if USE_RUBY rubylib_LTLIBRARIES = caca.la -rubysite_DATA = lib/caca.rb +rubyvendor_DATA = lib/caca.rb TESTS = test endif
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor