banan-os/ports/libXpm/patches/0001-add-shared-library-sup...

32 lines
895 B
Diff

diff -ruN libXpm-3.5.17/configure libXpm-3.5.17-banan_os/configure
--- libXpm-3.5.17/configure 2023-10-03 19:12:11.000000000 +0300
+++ libXpm-3.5.17-banan_os/configure 2025-11-16 23:46:08.171880860 +0200
@@ -5897,6 +5897,10 @@
lt_cv_deplibs_check_method=pass_all
;;
+banan_os*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
beos*)
lt_cv_deplibs_check_method=pass_all
;;
@@ -11254,6 +11258,16 @@
esac
;;
+banan_os*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ dynamic_linker="$host_os DynamicLoader.so"
+ shlibpath_var=LD_LIBRARY_PATH
+ ;;
+
beos*)
library_names_spec='$libname$shared_ext'
dynamic_linker="$host_os ld.so"