diff options
Diffstat (limited to 'sci-geosciences/gpsd/files/gpsd-3.11-rpath.patch')
-rw-r--r-- | sci-geosciences/gpsd/files/gpsd-3.11-rpath.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/sci-geosciences/gpsd/files/gpsd-3.11-rpath.patch b/sci-geosciences/gpsd/files/gpsd-3.11-rpath.patch new file mode 100644 index 000000000000..7615b8b5d73f --- /dev/null +++ b/sci-geosciences/gpsd/files/gpsd-3.11-rpath.patch @@ -0,0 +1,12 @@ +don't set the -rpath flag to the install dir as this breaks DESTDIR + +--- a/SConstruct ++++ b/SConstruct +@@ -287,7 +287,7 @@ + + # Don't hack RPATH unless libdir points somewhere that is not on the + # minimum default load path. +-if env["shared"]: ++if env["shared"] and env["chrpath"]: + if env["libdir"] not in ["/usr/lib", "/lib"]: + env.Prepend(RPATH=[installdir('libdir')]) |