aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--comms/gnokii/files/patch-config-ltmain.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/comms/gnokii/files/patch-config-ltmain.sh b/comms/gnokii/files/patch-config-ltmain.sh
new file mode 100644
index 000000000000..cb118d889dce
--- /dev/null
+++ b/comms/gnokii/files/patch-config-ltmain.sh
@@ -0,0 +1,15 @@
+--- config/ltmain.sh.orig Sat Feb 14 16:37:52 2004
++++ config/ltmain.sh Sat Feb 14 16:39:37 2004
+@@ -1061,7 +1061,11 @@
+ esac
+ elif test "X$arg" = "X-lc_r"; then
+ case $host in
+- *-*-openbsd* | *-*-freebsd*)
++# *-*-openbsd* | *-*-freebsd*)
++# this situation is already managed by the ports tree for
++# freebsd, so leave it as is(-lc_r is actually needed for machines
++# built from freebsd-current source in a short life span :)
++ *-*-openbsd*)
+ # Do not include libc_r directly, use -pthread flag.
+ continue
+ ;;