Ticket #41103: port-libtool.diff

File port-libtool.diff, 2.3 KB (added by anddam (Andrea D'Amore), 11 years ago)
  • Portfile

     
    44
    55name            libtool
    66version         2.4.2
    7 revision        3
     7revision        4
    88categories      devel sysutils
    99# Scripts are GPL-2+, libltdl is LGPL-2+, but all parts that tend to be
    1010# distributed with dependents have a licensing exception that allows
     
    4343# Patch to allow -stdlib=* for the linker
    4444# See ticket 32982.
    4545# committed upstream -> remove for libtool 2.4.3
    46 patchfiles      ltmain.m4sh-allow-clang-stdlib.diff
     46patchfiles      ltmain.m4sh-allow-clang-stdlib.diff \
     47                patch-configure.diff
    4748
     49post-patch {
     50    reinplace "s,@DL_SEARCH_PATH@,${prefix}/lib," ${worksrcpath}/configure
     51}
     52
    4853use_parallel_build  yes
    4954
    5055post-destroot {
  • files/patch-configure.diff

     
     1--- configure.orig      2013-10-30 23:06:54.000000000 +0100
     2+++ configure   2013-10-30 23:08:45.000000000 +0100
     3@@ -11019,7 +11019,7 @@
     4   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
     5 
     6   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
     7-  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
     8+  sys_lib_dlsearch_path_spec='@DL_SEARCH_PATH@ /usr/local/lib /lib /usr/lib'
     9   ;;
     10 
     11 dgux*)
     12@@ -16172,7 +16172,7 @@
     13   shlibpath_var=DYLD_LIBRARY_PATH
     14   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
     15 
     16-  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
     17+  sys_lib_dlsearch_path_spec='@DL_SEARCH_PATH@ /usr/local/lib /lib /usr/lib'
     18   ;;
     19 
     20 dgux*)
     21@@ -19114,7 +19114,7 @@
     22   shlibpath_var=DYLD_LIBRARY_PATH
     23   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
     24 
     25-  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
     26+  sys_lib_dlsearch_path_spec='@DL_SEARCH_PATH@ /usr/local/lib /lib /usr/lib'
     27   ;;
     28 
     29 dgux*)
     30@@ -22186,7 +22186,7 @@
     31   shlibpath_var=DYLD_LIBRARY_PATH
     32   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
     33 
     34-  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
     35+  sys_lib_dlsearch_path_spec='@DL_SEARCH_PATH@ /usr/local/lib /lib /usr/lib'
     36   ;;
     37 
     38 dgux*)