summaryrefslogtreecommitdiff
path: root/devel/libtool14
diff options
context:
space:
mode:
authorAde Lovett <ade@FreeBSD.org>2003-06-28 20:27:57 +0000
committerAde Lovett <ade@FreeBSD.org>2003-06-28 20:27:57 +0000
commite60dd3d09686acd05c168b0e24a2470d949369a8 (patch)
tree6db5671a3482b056b713da15ed7e844d5234dadf /devel/libtool14
parentUpdate to 0.7.1. (diff)
Fix "dreaded thread problem" on -current where multithreaded apps are
not linked with libc_r. Bump PORTREVISION since this is a CRITICAL patch. Submitted by: marcus
Diffstat (limited to 'devel/libtool14')
-rw-r--r--devel/libtool14/Makefile2
-rw-r--r--devel/libtool14/files/patch-ltmain.sh11
2 files changed, 12 insertions, 1 deletions
diff --git a/devel/libtool14/Makefile b/devel/libtool14/Makefile
index 573ac0226009..dfb740c7ec71 100644
--- a/devel/libtool14/Makefile
+++ b/devel/libtool14/Makefile
@@ -7,7 +7,7 @@
PORTNAME?= libtool
PORTVERSION= 1.4.3
-PORTREVISION?= 0
+PORTREVISION?= 1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= libtool
diff --git a/devel/libtool14/files/patch-ltmain.sh b/devel/libtool14/files/patch-ltmain.sh
new file mode 100644
index 000000000000..eb77e13cf2c0
--- /dev/null
+++ b/devel/libtool14/files/patch-ltmain.sh
@@ -0,0 +1,11 @@
+--- ltmain.sh.orig Fri Jun 27 19:46:40 2003
++++ ltmain.sh Fri Jun 27 19:46:52 2003
+@@ -1061,7 +1061,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
+ ;;