Package: ruby-gettext / 3.2.2-2

0004-Use-system-racc-in-Rakefile.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Bobbio?= <lunar@debian.org>
Date: Tue, 7 May 2013 09:43:01 +0000
Subject: Use system racc in Rakefile

---
 Rakefile |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Rakefile b/Rakefile
index 7b5a53c..de6705e 100644
--- a/Rakefile
+++ b/Rakefile
@@ -39,7 +39,7 @@ end
 
 po_parser_ry_path = "src/po_parser.ry"
 file po_parser_rb_path => po_parser_ry_path do
-  racc = File.join(Gem.bindir, "racc")
+  racc = "/usr/bin/racc"
   tempfile = Tempfile.new("gettext-po-parser")
   ruby(racc, "-g", po_parser_ry_path, "-o", tempfile.path)