summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/slang/slang/rpathfix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-extended/slang/slang/rpathfix.patch')
-rw-r--r--meta/recipes-extended/slang/slang/rpathfix.patch18
1 files changed, 15 insertions, 3 deletions
diff --git a/meta/recipes-extended/slang/slang/rpathfix.patch b/meta/recipes-extended/slang/slang/rpathfix.patch
index 50cac9264f..f82a5313d5 100644
--- a/meta/recipes-extended/slang/slang/rpathfix.patch
+++ b/meta/recipes-extended/slang/slang/rpathfix.patch
@@ -10,7 +10,7 @@ Index: slang-2.2.4/configure
10=================================================================== 10===================================================================
11--- slang-2.2.4.orig/configure 2012-03-14 23:40:01.283560679 +0000 11--- slang-2.2.4.orig/configure 2012-03-14 23:40:01.283560679 +0000
12+++ slang-2.2.4/configure 2012-03-14 23:41:18.023558900 +0000 12+++ slang-2.2.4/configure 2012-03-14 23:41:18.023558900 +0000
13@@ -6081,56 +6081,7 @@ 13@@ -6246,68 +6246,7 @@ esac
14 ELF_CFLAGS="$ELF_CFLAGS $IEEE_CFLAGS" 14 ELF_CFLAGS="$ELF_CFLAGS $IEEE_CFLAGS"
15 CFLAGS="$CFLAGS $IEEE_CFLAGS" 15 CFLAGS="$CFLAGS $IEEE_CFLAGS"
16 16
@@ -39,7 +39,7 @@ Index: slang-2.2.4/configure
39- fi 39- fi
40- fi 40- fi
41- ;; 41- ;;
42- *osf*|*openbsd*) 42- *osf*|*openbsd*|*freebsd*)
43- if test "X$GCC" = Xyes 43- if test "X$GCC" = Xyes
44- then 44- then
45- RPATH="-Wl,-rpath," 45- RPATH="-Wl,-rpath,"
@@ -60,7 +60,19 @@ Index: slang-2.2.4/configure
60- RPATH="$RPATH$libdir" 60- RPATH="$RPATH$libdir"
61- fi 61- fi
62- else 62- else
63- RPATH="$RPATH:$libdir" 63- _already_there=0
64- for X in `echo $RPATH | sed 's/:/ /g'`
65- do
66- if test "$X" = "$libdir"
67- then
68- _already_there=1
69- break
70- fi
71- done
72- if test $_already_there = 0
73- then
74- RPATH="$RPATH:$libdir"
75- fi
64- fi 76- fi
65-fi 77-fi
66- 78-