From ccf5fc53c332f1b95166a059f434b433068c08cc Mon Sep 17 00:00:00 2001 From: ade Date: Sat, 28 Jun 2003 20:27:57 +0000 Subject: 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 --- devel/gnu-libtool/Makefile | 2 +- devel/gnu-libtool/files/patch-ltmain.sh | 11 +++++++++++ devel/libtool14/Makefile | 2 +- devel/libtool14/files/patch-ltmain.sh | 11 +++++++++++ devel/libtool15/Makefile | 2 +- devel/libtool15/files/patch-ltmain.sh | 11 +++++++++++ 6 files changed, 36 insertions(+), 3 deletions(-) create mode 100644 devel/gnu-libtool/files/patch-ltmain.sh create mode 100644 devel/libtool14/files/patch-ltmain.sh create mode 100644 devel/libtool15/files/patch-ltmain.sh diff --git a/devel/gnu-libtool/Makefile b/devel/gnu-libtool/Makefile index 573ac0226009..dfb740c7ec71 100644 --- a/devel/gnu-libtool/Makefile +++ b/devel/gnu-libtool/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/gnu-libtool/files/patch-ltmain.sh b/devel/gnu-libtool/files/patch-ltmain.sh new file mode 100644 index 000000000000..eb77e13cf2c0 --- /dev/null +++ b/devel/gnu-libtool/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 + ;; 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 + ;; 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 + ;; -- cgit