ruby/ruby-1.9.3-arch-specific-dir.patch

28 lines
961 B
Diff
Raw Normal View History

2013-02-14 14:26:28 +00:00
From 2e15c6bdac1c145cce0c21677477ced8df26718b Mon Sep 17 00:00:00 2001
2012-01-18 14:54:01 +00:00
From: =?UTF-8?q?V=C3=ADt=20Ondruch?= <vondruch@redhat.com>
2013-02-08 23:54:37 +00:00
Date: Fri, 8 Feb 2013 18:20:50 +0100
2012-01-18 14:54:01 +00:00
Subject: [PATCH] Add configuration arch specific dir flag.
---
2013-02-14 14:26:28 +00:00
configure.in | 4 ++++
1 file changed, 4 insertions(+)
2012-01-18 14:54:01 +00:00
diff --git a/configure.in b/configure.in
2013-02-14 14:26:28 +00:00
index d6af000..1c094a3 100644
2012-01-18 14:54:01 +00:00
--- a/configure.in
+++ b/configure.in
2013-02-14 16:13:24 +00:00
@@ -3188,6 +3188,10 @@ AC_SUBST(rubylibprefix)
2013-02-08 23:54:37 +00:00
rubylibdir='${rubylibprefix}/${ruby_version}'
rubyarchdir=${multiarch+'${rubyarchprefix}/${ruby_version}'}${multiarch-'${rubylibdir}/${arch}'}
2012-01-18 14:54:01 +00:00
+AC_ARG_WITH(archdir,
2013-02-08 23:54:37 +00:00
+ AS_HELP_STRING([--with-archdir=DIR], [architecture specific ruby libraries [[LIBDIR/RUBY_BASE_NAME/ARCH]]]),
+ [rubyarchdir=$withval])
2012-01-18 14:54:01 +00:00
+
2013-02-08 23:54:37 +00:00
rubyarchprefix=${multiarch+'${archlibdir}/${RUBY_BASE_NAME}'}${multiarch-'${rubylibprefix}/${arch}'}
AC_ARG_WITH(rubyarchprefix,
AS_HELP_STRING([--with-rubyarchprefix=DIR],
2012-01-18 14:54:01 +00:00
--
2013-02-14 14:26:28 +00:00
1.8.1.2
2012-01-18 14:54:01 +00:00