aboutsummaryrefslogtreecommitdiffstats
path: root/comms
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2004-02-15 18:31:54 +0800
committerpav <pav@FreeBSD.org>2004-02-15 18:31:54 +0800
commit9e8b842dfd7752dd99deb3b4440e2bb2e32b4b59 (patch)
tree6ee5d328764de9c82445d7e1504c45c387ac7f35 /comms
parent5eca335963da6f0055fbb5dfe835859fcd3db0f4 (diff)
downloadfreebsd-ports-gnome-9e8b842dfd7752dd99deb3b4440e2bb2e32b4b59.tar.gz
freebsd-ports-gnome-9e8b842dfd7752dd99deb3b4440e2bb2e32b4b59.tar.zst
freebsd-ports-gnome-9e8b842dfd7752dd99deb3b4440e2bb2e32b4b59.zip
- Teach included libtool to not be clever about -lc_r
PR: ports/62839 Submitted by: Guido Falsi <mad@madpilot.net> (maintainer)
Diffstat (limited to 'comms')
-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
+ ;;