ports: Add libmikmod port

This commit is contained in:
Bananymous 2025-11-16 03:46:39 +02:00
parent c096d3cd42
commit 6c4cd0d8cb
2 changed files with 37 additions and 0 deletions

6
ports/libmikmod/build.sh Executable file
View File

@ -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')

View File

@ -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"