summaryrefslogtreecommitdiffstats
path: root/devel/libgtop2/files/patch-ltmain.sh
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2003-01-26 13:59:58 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2003-01-26 13:59:58 +0800
commit18eb300572a496215dcc2ae23bde0237b77171d1 (patch)
tree869dfbf7bd819efee98dac1f74a50492eeb90026 /devel/libgtop2/files/patch-ltmain.sh
parent4178c47e6708de3ffb11943769beb6e004d94394 (diff)
downloadmarcuscom-ports-18eb300572a496215dcc2ae23bde0237b77171d1.tar
marcuscom-ports-18eb300572a496215dcc2ae23bde0237b77171d1.tar.gz
marcuscom-ports-18eb300572a496215dcc2ae23bde0237b77171d1.tar.bz2
marcuscom-ports-18eb300572a496215dcc2ae23bde0237b77171d1.tar.lz
marcuscom-ports-18eb300572a496215dcc2ae23bde0237b77171d1.tar.xz
marcuscom-ports-18eb300572a496215dcc2ae23bde0237b77171d1.tar.zst
marcuscom-ports-18eb300572a496215dcc2ae23bde0237b77171d1.zip
Update to 2.0.1, and sync with the main FreeBSD tree.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@458 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'devel/libgtop2/files/patch-ltmain.sh')
-rw-r--r--devel/libgtop2/files/patch-ltmain.sh42
1 files changed, 42 insertions, 0 deletions
diff --git a/devel/libgtop2/files/patch-ltmain.sh b/devel/libgtop2/files/patch-ltmain.sh
new file mode 100644
index 000000000..3e04e21df
--- /dev/null
+++ b/devel/libgtop2/files/patch-ltmain.sh
@@ -0,0 +1,42 @@
+--- ltmain.sh.orig Tue Jan 14 00:02:45 2003
++++ ltmain.sh Tue Jan 14 00:05:36 2003
+@@ -1073,8 +1073,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
+ ;;
+
+@@ -2502,6 +2510,9 @@
+ *-*-openbsd*)
+ # Do not include libc due to us having libc/libc_r.
+ ;;
++ *-*-freebsd*)
++ # FReeBSD doesn't need this...
++ ;;
+ *)
+ # Add libc to deplibs on all other systems if necessary.
+ if test "$build_libtool_need_lc" = "yes"; then
+@@ -4286,10 +4297,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"