Remove massive overheads from loading programs that use many
libtool-generated shared libraries by forcing libtool into understanding that FreeBSD can correctly handle shared library dependencies. This code already exists in the libtool CVS repository but without knowing the release schedule (if any) for a new libtool 1.5.x series, and the exceptional performance gains (gnucash for example uses 122 shared libraries and with things rebuilt now starts up in ~10 seconds as opposed to 15 *minutes*). Further, a number of people have assisted in extensive testing of this code in a series of different environments, so I am therefore adding this patch to the tree. PR: 94826 Submitted by: Peter Jeremy <peterjeremy@optushome.com.au> Tested by: too many to list - thank you all
This commit is contained in:
parent
04e0801127
commit
722bf380a3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=183751
@ -6,7 +6,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= libltdl
|
||||
PORTREVISION= 0
|
||||
PORTREVISION= 1
|
||||
MASTERDIR= ${.CURDIR}/../../devel/libtool15
|
||||
|
||||
COMMENT= System independent dlopen wrapper
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME?= libtool
|
||||
PORTVERSION= 1.5.22
|
||||
PORTREVISION?= 2
|
||||
PORTREVISION?= 3
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= ${MASTER_SITE_GNU}
|
||||
MASTER_SITE_SUBDIR= libtool
|
||||
|
8
devel/libtool15/files/patch-libltdl-acinclude.m4
Normal file
8
devel/libtool15/files/patch-libltdl-acinclude.m4
Normal file
@ -0,0 +1,8 @@
|
||||
--- libltdl/acinclude.m4.orig Sun Dec 18 14:13:49 2005
|
||||
+++ libltdl/acinclude.m4 Tue Jan 30 17:30:22 2007
|
||||
@@ -6526,2 +6526,5 @@
|
||||
;;
|
||||
+ freebsd*)
|
||||
+ libltdl_cv_sys_dlopen_deplibs=yes
|
||||
+ ;;
|
||||
gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
|
8
devel/libtool15/files/patch-ltdl.m4
Normal file
8
devel/libtool15/files/patch-ltdl.m4
Normal file
@ -0,0 +1,8 @@
|
||||
--- ltdl.m4.orig Sun Dec 18 13:53:17 2005
|
||||
+++ ltdl.m4 Tue Jan 30 17:32:06 2007
|
||||
@@ -129,2 +129,5 @@
|
||||
;;
|
||||
+ freebsd*)
|
||||
+ libltdl_cv_sys_dlopen_deplibs=yes
|
||||
+ ;;
|
||||
gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
|
Loading…
Reference in New Issue
Block a user