freebsd-ports/graphics/gimageview/files/patch-ltmain.sh
Patrick Li 9934f8fb79 Add new port graphics/gimageview - a GTK+ based image viewer.
PR:		35125
Submitted by:	TATEISHI Katsuyuki <katsu@iec.hiroshima-u.ac.jp>
2002-02-20 21:47:37 +00:00

25 lines
733 B
Bash

--- ltmain.sh.orig Sat Nov 17 07:22:26 2001
+++ ltmain.sh Wed Feb 20 16:21:57 2002
@@ -2690,6 +2690,9 @@
# Absolute path.
rpath="$rpath$dir:"
;;
+ *-*-freebsd*)
+ # FreeBSD doesn't need this...
+ ;;
*)
# Relative path: add a thisdir entry.
rpath="$rpath\$thisdir/$dir:"
@@ -3360,10 +3363,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"