diff options
Diffstat (limited to 'sci-geosciences/gpsd/files/gpsd-3.7-rpath.patch')
-rw-r--r-- | sci-geosciences/gpsd/files/gpsd-3.7-rpath.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/sci-geosciences/gpsd/files/gpsd-3.7-rpath.patch b/sci-geosciences/gpsd/files/gpsd-3.7-rpath.patch new file mode 100644 index 000000000000..5419cd31f637 --- /dev/null +++ b/sci-geosciences/gpsd/files/gpsd-3.7-rpath.patch @@ -0,0 +1,17 @@ +don't set the -rpath/-L flags to the install dir as this breaks DESTDIR + +--- a/SConstruct ++++ b/SConstruct +@@ -268,11 +268,7 @@ + return wrapped + + # Honor the specified installation prefix in link paths. +-if not env["sysroot"]: +- env.Prepend(LIBPATH=[installdir('libdir')]) +-else: +- env.Prepend(LIBPATH=[env["sysroot"] + installdir('libdir')]) +-if env["shared"]: ++if env["shared"] and env["chrpath"]: + env.Prepend(RPATH=[installdir('libdir')]) + + # Give deheader a way to set compiler flags |