Updated libtool to 2.4.2

This commit is contained in:
Scott McCreary
2012-03-17 19:47:12 +00:00
parent c5af004124
commit b8de35b10f
2 changed files with 41 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
DESCRIPTION="libtool - a generic library support script"
HOMEPAGE="http://www.gnu.org/software/libtool"
SRC_URI="ftp://ftp.gnu.org/gnu/libtool/libtool-2.4.2.tar.gz"
CHECKSUM_MD5="d2f3b7d4627e69e13514a40e72a24d50"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND=""
BUILD {
cd libtool-2.4.2
./bootstrap
./configure --prefix=`finddir B_COMMON_DIRECTORY` \
--datarootdir=`finddir B_COMMON_DATA_DIRECTORY` \
--infodir=`finddir B_COMMON_DOCUMENTATION_DIRECTORY`/info \
--mandir=`finddir B_COMMON_DOCUMENTATION_DIRECTORY`/man
make
}
INSTALL {
cd libtool-2.4.2
make install
}
TEST {
cd libtool-2.4.2
make check
}
LICENSE="GNU GPL v2"
COPYRIGHT="2004-2011 Free Software Foundation, Inc."

View File

@@ -0,0 +1,12 @@
diff -urN libtool-2.4.2/libltdl/m4/libtool.m4 libtool-2.4.2-haiku/libltdl/m4/libtool.m4
--- libtool-2.4.2/libltdl/m4/libtool.m4 2010-09-22 01:41:19.046923776 -0700
+++ libtool-2.4.2-haiku/libltdl/m4/libtool.m4 2011-07-26 09:06:47.362807296 -0700
@@ -2472,7 +2472,7 @@
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
soname_spec='${libname}${release}${shared_ext}$major'
shlibpath_var=LIBRARY_PATH
- shlibpath_overrides_runpath=yes
+ shlibpath_overrides_runpath=no
sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
hardcode_into_libs=yes
;;