summaryrefslogtreecommitdiff
path: root/devel/ORBit/files/patch-libIDL::ltmain.sh
blob: e27c1baf1c8fd927ef13dbdd113e0cd41a9922d3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
$FreeBSD$

--- libIDL/ltmain.sh.orig	Mon Mar 11 14:42:53 2002
+++ libIDL/ltmain.sh	Tue Mar 12 16:39:28 2002
@@ -1042,6 +1042,9 @@
 	    # These systems don't actually have a C library (as such)
 	    test "X$arg" = "X-lc" && continue
 	    ;;
+	  *-*-freebsd*)
+	    # has libc, but it shouldn't be explicitly linked in
+	    ;;
 	  esac
 	fi
 	deplibs="$deplibs $arg"
@@ -2438,6 +2441,9 @@
 	  *-*-netbsd*)
 	    # Don't link with libc until the a.out ld.so is fixed.
 	    ;;
+	  *-*-freebsd*)
+	    # has libc, but it shouldn't be explicitly linked in
+	    ;;
 	  *)
 	    # Add libc to deplibs on all other systems if necessary.
 	    if test $build_libtool_need_lc = "yes"; then
@@ -4223,10 +4229,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"