From 859cc877c55e8134ecb7f6d27e61638a40f58e2e Mon Sep 17 00:00:00 2001 From: sobomax Date: Wed, 31 Oct 2001 08:20:45 +0000 Subject: Don't link in libc - FreeBSD doesn't need this. Submitted by: Ports Fury --- devel/pth/files/patch-ltmain.sh | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) (limited to 'devel/pth') diff --git a/devel/pth/files/patch-ltmain.sh b/devel/pth/files/patch-ltmain.sh index abe8f6e0b7a..98cb05e4ddb 100644 --- a/devel/pth/files/patch-ltmain.sh +++ b/devel/pth/files/patch-ltmain.sh @@ -1,13 +1,23 @@ $FreeBSD$ ---- ltmain.sh 2001/07/30 16:31:21 1.1 -+++ ltmain.sh 2001/07/30 16:31:42 -@@ -3360,10 +3360,12 @@ +--- ltmain.sh 2001/08/27 09:51:26 1.1 ++++ ltmain.sh 2001/08/27 09:51:42 +@@ -2408,6 +2408,9 @@ + *-*-netbsd*) + # Don't link with libc until the a.out ld.so is fixed. + ;; ++ *-*-freebsd*) ++ # FreeBSD doesn't need this... ++ ;; + *) + # Add libc to deplibs on all other systems if necessary. + if test "$build_libtool_need_lc" = "yes"; then +@@ -4175,10 +4178,12 @@ fi # Install the pseudo-library for information purposes. -+ if false; then ++ if /usr/bin/false; then name=`$echo "X$file" | $Xsed -e 's%^.*/%%'` instname="$dir/$name"i $show "$install_prog $instname $destdir/$name" -- cgit