summaryrefslogtreecommitdiff
path: root/graphics/gphoto2/files/patch-ltmain.sh
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/gphoto2/files/patch-ltmain.sh')
-rw-r--r--graphics/gphoto2/files/patch-ltmain.sh23
1 files changed, 23 insertions, 0 deletions
diff --git a/graphics/gphoto2/files/patch-ltmain.sh b/graphics/gphoto2/files/patch-ltmain.sh
new file mode 100644
index 000000000000..886fc92f7ccc
--- /dev/null
+++ b/graphics/gphoto2/files/patch-ltmain.sh
@@ -0,0 +1,23 @@
+--- ltmain.sh.orig Sat Mar 2 08:58:32 2002
++++ ltmain.sh Sat Mar 2 08:59:07 2002
+@@ -958,6 +958,7 @@
+ ;;
+
+ -avoid-version)
++ build_old_libs=no
+ avoid_version=yes
+ continue
+ ;;
+@@ -4247,10 +4248,12 @@
+ fi
+
+ # Install the pseudo-library for information purposes.
++ if /usr/bin/false; then
+ name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
+ instname="$dir/$name"i
+ $show "$install_prog $instname $destdir/$name"
+ $run eval "$install_prog $instname $destdir/$name" || exit $?
++ fi
+
+ # Maybe install the static library, too.
+ test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"