aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'eclass/ELT-patches/hpux-conf/1.5.22-syslibpath')
-rw-r--r--eclass/ELT-patches/hpux-conf/1.5.22-syslibpath24
1 files changed, 24 insertions, 0 deletions
diff --git a/eclass/ELT-patches/hpux-conf/1.5.22-syslibpath b/eclass/ELT-patches/hpux-conf/1.5.22-syslibpath
new file mode 100644
index 0000000..27fef48
--- /dev/null
+++ b/eclass/ELT-patches/hpux-conf/1.5.22-syslibpath
@@ -0,0 +1,24 @@
+must not search /usr/local in prefix
+
+--- configure.orig 2007-12-02 19:14:55 +0100
++++ configure 2007-12-02 19:14:59 +0100
+@@ -8920,9 +8920,17 @@
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ if test "X$HPUX_IA64_MODE" = X32; then
+- sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
++ if test "$GCC" = yes; then
++ sys_lib_search_path_spec="${sys_lib_search_path_spec} /usr/lib/hpux32"
++ else
++ sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
++ fi
+ else
+- sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
++ if test "$GCC" = yes; then
++ sys_lib_search_path_spec="${sys_lib_search_path_spec} /usr/lib/hpux64"
++ else
++ sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
++ fi
+ fi
+ sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
+ ;;