diff --git a/ports/libmikmod/build.sh b/ports/libmikmod/build.sh new file mode 100755 index 00000000..9e9b56d6 --- /dev/null +++ b/ports/libmikmod/build.sh @@ -0,0 +1,6 @@ +#!/bin/bash ../install.sh + +NAME='libmikmod' +VERSION='3.3.13' +DOWNLOAD_URL="https://sourceforge.net/projects/mikmod/files/libmikmod/$VERSION/libmikmod-$VERSION.tar.gz#9fc1799f7ea6a95c7c5882de98be85fc7d20ba0a4a6fcacae11c8c6b382bb207" +CONFIG_SUB=('autotools/config.sub') diff --git a/ports/libmikmod/patches/0001-add-shared-library-support.patch b/ports/libmikmod/patches/0001-add-shared-library-support.patch new file mode 100644 index 00000000..331606a8 --- /dev/null +++ b/ports/libmikmod/patches/0001-add-shared-library-support.patch @@ -0,0 +1,31 @@ +diff -ruN libmikmod-3.3.13/configure libmikmod-3.3.13-banan_os/configure +--- libmikmod-3.3.13/configure 2025-04-20 04:55:10.000000000 +0300 ++++ libmikmod-3.3.13-banan_os/configure 2025-11-16 03:32:52.087690874 +0200 +@@ -5962,6 +5962,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 + ;; +@@ -11733,6 +11737,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"