diff options
Diffstat (limited to 'devel/gettext/files/patch-config_ltmain.sh')
-rw-r--r-- | devel/gettext/files/patch-config_ltmain.sh | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/devel/gettext/files/patch-config_ltmain.sh b/devel/gettext/files/patch-config_ltmain.sh new file mode 100644 index 000000000..c3dcb4723 --- /dev/null +++ b/devel/gettext/files/patch-config_ltmain.sh @@ -0,0 +1,53 @@ +$FreeBSD: ports/devel/gettext/files/patch-config_ltmain.sh,v 1.2 2004/01/23 18:12:16 trevor Exp $ + +--- config/ltmain.sh.orig Tue Apr 15 19:22:56 2003 ++++ config/ltmain.sh Wed Jun 11 14:15:07 2003 +@@ -1279,7 +1279,7 @@ + esac + elif test "X$arg" = "X-lc_r"; then + case $host in +- *-*-openbsd* | *-*-freebsd*) ++ *-*-openbsd* | *-*-freebsd4*) + # Do not include libc_r directly, use -pthread flag. + continue + ;; +@@ -1289,8 +1289,16 @@ + continue + ;; + ++ -pthread) ++ compile_command="$compile_command -pthread" ++ finalize_command="$finalize_command -pthread" ++ compiler_flags="$compiler_flags -pthread" ++ continue ++ ;; ++ + -module) + module=yes ++ build_old_libs=no + continue + ;; + +@@ -3001,6 +3009,9 @@ + # problems, so we reset it completely + verstring= + ;; ++ *-*-freebsd*) ++ # FreeBSD doesn't need this... ++ ;; + *) + verstring="0.0" + ;; +@@ -5429,10 +5440,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" |