aboutsummaryrefslogtreecommitdiffstats
path: root/devel/libtool15
diff options
context:
space:
mode:
authorade <ade@FreeBSD.org>2003-06-29 04:27:57 +0800
committerade <ade@FreeBSD.org>2003-06-29 04:27:57 +0800
commitccf5fc53c332f1b95166a059f434b433068c08cc (patch)
treec6a14b8372786f0ca69a5e10c58cb556aed5b28a /devel/libtool15
parent2d4f7f7e33c378641d2a0beb36f3788b19737693 (diff)
downloadfreebsd-ports-gnome-ccf5fc53c332f1b95166a059f434b433068c08cc.tar.gz
freebsd-ports-gnome-ccf5fc53c332f1b95166a059f434b433068c08cc.tar.zst
freebsd-ports-gnome-ccf5fc53c332f1b95166a059f434b433068c08cc.zip
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/libtool15')
-rw-r--r--devel/libtool15/Makefile2
-rw-r--r--devel/libtool15/files/patch-ltmain.sh11
2 files changed, 12 insertions, 1 deletions
diff --git a/devel/libtool15/Makefile b/devel/libtool15/Makefile
index 573ac0226009..dfb740c7ec71 100644
--- a/devel/libtool15/Makefile
+++ b/devel/libtool15/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/libtool15/files/patch-ltmain.sh b/devel/libtool15/files/patch-ltmain.sh
new file mode 100644
index 000000000000..eb77e13cf2c0
--- /dev/null
+++ b/devel/libtool15/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
+ ;;