summaryrefslogtreecommitdiffstats
path: root/debian/patches/examples-makefile-multiarch.diff
blob: d2c11e380f299ea170ef1c701e96b6607324bfe5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
From e5a01df4f075ddb96c393748d37a16498aa37c0a Mon Sep 17 00:00:00 2001
From: Shawn Landden <shawnlandden@gmail.com>
Date: Wed, 18 Jul 2012 18:21:14 -0700
Subject: [PATCH] fix Makefile -- allows build of examples, multi-arch: same

---
 examples/Makefile.in |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

Index: b/examples/Makefile.in
===================================================================
--- a/examples/Makefile.in
+++ b/examples/Makefile.in
@@ -27,12 +27,12 @@
 datarootdir = @datarootdir@
 
 bindir = @bindir@
-srcdir = @srcdir@
+srcdir = /usr/share/doc/libreadline6/examples
 datadir = @datadir@
-VPATH = @srcdir@
-top_srcdir = @top_srcdir@
+VPATH = .:/usr/share/doc/libreadline6/examples
+top_srcdir = /usr/include/readline
 #BUILD_DIR = .
-BUILD_DIR = @BUILD_DIR@
+BUILD_DIR = /usr/src/readline6/build
 installdir = $(datadir)/readline
 
 INSTALL = @INSTALL@