ports/devel/libsigcx/files/patch-ltmain.sh
Ying-Chieh Liao 826a3e61e4 add libsigcx 0.6.0
libSigC++ Extras
2003-04-06 07:16:01 +00:00

41 lines
1.2 KiB
Bash

--- scripts/ltmain.sh.orig Sat Mar 8 14:36:10 2003
+++ scripts/ltmain.sh Sun Apr 6 15:01:17 2003
@@ -1065,14 +1065,14 @@
# These systems don't actually have a C library (as such)
test "X$arg" = "X-lc" && continue
;;
- *-*-openbsd* | *-*-freebsd*)
+ *-*-openbsd*)
# Do not include libc due to us having libc/libc_r.
test "X$arg" = "X-lc" && continue
;;
esac
elif test "X$arg" = "X-lc_r"; then
case $host in
- *-*-openbsd* | *-*-freebsd*)
+ *-*-openbsd*)
# Do not include libc_r directly, use -pthread flag.
continue
;;
@@ -2495,7 +2495,7 @@
*-*-netbsd*)
# Don't link with libc until the a.out ld.so is fixed.
;;
- *-*-openbsd* | *-*-freebsd*)
+ *-*-openbsd*)
# Do not include libc due to us having libc/libc_r.
;;
*)
@@ -4325,10 +4325,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"