Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37423861
en ru br
Репозитории ALT
S:0.99-alt23
5.1: 0.99-alt10.beta16
4.1: 0.99-alt10.beta13b
4.0: 0.99-alt6.beta11
3.0: 0.9-alt1
www.altlinux.org/Changes

Группа :: Система/Библиотеки
Пакет: libcaca

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: ruby-paths.patch
Скачать


--- ./configure.ac	2022-10-29 19:31:10.000000000 +0000
+++ ./configure.ac	2022-10-31 10:34:47.288000000 +0000
@@ -487,12 +487,12 @@ if test "${enable_ruby}" != "no"; then
   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_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"
--- ./ruby/Makefile.am	2022-10-29 19:31:10.000000000 +0000
+++ ./ruby/Makefile.am	2022-10-31 10:33:23.399000000 +0000
@@ -1,8 +1,8 @@
 
 include $(top_srcdir)/build/autotools/common.am
 
-rubylibdir = $(RUBY_SITEARCHDIR)
-rubysitedir = $(RUBY_SITELIBDIR)
+rubylibdir = $(RUBY_VENDORARCHDIR)
+rubyvendordir = $(RUBY_VENDORLIBDIR)
 
 if USE_RUBY
 rubylib_LTLIBRARIES = caca.la
@@ -6,7 +6,7 @@ rubyvendordir = $(RUBY_VENDORLIBDIR)
 
 if USE_RUBY
 rubylib_LTLIBRARIES = caca.la
-rubysite_DATA = lib/caca.rb
+rubyvendor_DATA = lib/caca.rb
 if USE_RUBY_MINITEST
 TESTS = test
 endif
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin