freebsd-ports/astro/gpsdrive/files/patch-ltmain.sh
Yen-Ming Lee 066a9db902 Update of astro/gpsdrive to latest version (1.33)
PR:		54759
Submitted by:	Marco Molteni <molter@tin.it>
2003-08-08 23:16:29 +00:00

33 lines
1 KiB
Bash

--- ltmain.sh.orig Sun Jul 14 20:22:08 2002
+++ ltmain.sh Thu Jul 31 17:46:34 2003
@@ -1043,7 +1043,7 @@
# These systems don't actually have a C library (as such)
test "X$arg" = "X-lc" && continue
;;
- *-*-openbsd*)
+ *-*-openbsd* | *-*-freebsd*)
# Do not include libc due to us having libc/libc_r.
test "X$arg" = "X-lc" && continue
;;
@@ -2445,7 +2445,7 @@
*-*-netbsd*)
# Don't link with libc until the a.out ld.so is fixed.
;;
- *-*-openbsd*)
+ *-*-openbsd* | *-*-freebsd*)
# Do not include libc due to us having libc/libc_r.
;;
*)
@@ -4225,10 +4225,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"