ports: Add pcre2 port
This commit is contained in:
parent
72ad413a61
commit
699235147c
|
@ -0,0 +1,12 @@
|
|||
#!/bin/bash ../install.sh
|
||||
|
||||
NAME='pcre2'
|
||||
VERSION='10.45'
|
||||
DOWNLOAD_URL="https://github.com/PCRE2Project/pcre2/releases/download/pcre2-$VERSION/pcre2-$VERSION.tar.gz#0e138387df7835d7403b8351e2226c1377da804e0737db0e071b48f07c9d12ee"
|
||||
CONFIG_SUB=('config.sub')
|
||||
|
||||
post_install() {
|
||||
# remove libtool files
|
||||
rm -f $BANAN_SYSROOT/usr/lib/libpcre2-8.la
|
||||
rm -f $BANAN_SYSROOT/usr/lib/libpcre2-posix.la
|
||||
}
|
|
@ -0,0 +1,31 @@
|
|||
diff -ruN pcre2-10.45/configure pcre2-10.45-banan_os/configure
|
||||
--- pcre2-10.45/configure 2025-02-04 15:48:33.000000000 +0200
|
||||
+++ pcre2-10.45-banan_os/configure 2025-08-08 00:22:52.975889591 +0300
|
||||
@@ -6536,6 +6536,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
|
||||
;;
|
||||
@@ -12197,6 +12201,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"
|
Loading…
Reference in New Issue