aboutsummaryrefslogtreecommitdiffstats
path: root/mail/libspf-alt/files
diff options
context:
space:
mode:
Diffstat (limited to 'mail/libspf-alt/files')
-rw-r--r--mail/libspf-alt/files/patch-config::ltmain.sh45
1 files changed, 45 insertions, 0 deletions
diff --git a/mail/libspf-alt/files/patch-config::ltmain.sh b/mail/libspf-alt/files/patch-config::ltmain.sh
new file mode 100644
index 000000000000..ba37b6e23a43
--- /dev/null
+++ b/mail/libspf-alt/files/patch-config::ltmain.sh
@@ -0,0 +1,45 @@
+--- config/ltmain.sh.orig Mon Mar 29 03:03:25 2004
++++ config/ltmain.sh Wed May 26 11:52:51 2004
+@@ -1346,7 +1346,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
+ ;;
+@@ -1363,6 +1363,12 @@
+
+ -module)
+ module=yes
++ case $host in
++ *-*-freebsd*)
++ # Do not build the useless static library
++ build_old_libs=no
++ ;;
++ esac
+ continue
+ ;;
+
+@@ -5533,10 +5539,16 @@
+ fi
+
+ # Install the pseudo-library for information purposes.
+- 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 $?
++ case $host in
++ *-*-freebsd*)
++ # Do not install the useless pseudo-library
++ ;;
++ *)
++ 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 $?
++ esac
+
+ # Maybe install the static library, too.
+ test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"