summaryrefslogtreecommitdiff
path: root/net-libs/libnsl/files
diff options
context:
space:
mode:
Diffstat (limited to 'net-libs/libnsl/files')
-rw-r--r--net-libs/libnsl/files/libnsl-1.3.0-rpath.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/net-libs/libnsl/files/libnsl-1.3.0-rpath.patch b/net-libs/libnsl/files/libnsl-1.3.0-rpath.patch
new file mode 100644
index 000000000000..1189dae37cfa
--- /dev/null
+++ b/net-libs/libnsl/files/libnsl-1.3.0-rpath.patch
@@ -0,0 +1,16 @@
+https://bugs.gentoo.org/732100
+
+Remove invalid shell from config.rpath.
+--- a/config.rpath
++++ b/config.rpath
+@@ -216,9 +216,7 @@ if test "$with_gnu_ld" = yes; then
+ ;;
+ gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
+ if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
+- if $libdir == /usr/lib | $libdir == /usr/lib64; then
+- hardcode_libdir_flag_spec=""
+- fi
++ :
+ else
+ ld_shlibs=no
+ fi