[crux-commits] ports/opt (3.5): libpcre2: build 16/32-bit libraries

crux at crux.nu crux at crux.nu
Wed Jul 1 13:22:27 UTC 2020


commit c69463fe8afe0d1e07451aa103432b43c7addeff
Author: Juergen Daubert <jue at jue.li>
Date:   Wed Jul 1 15:21:19 2020 +0200

    libpcre2: build 16/32-bit libraries

diff --git a/libpcre2/.footprint b/libpcre2/.footprint
index 1c85a5f58..a333d42da 100644
--- a/libpcre2/.footprint
+++ b/libpcre2/.footprint
@@ -7,6 +7,16 @@ drwxr-xr-x	root/root	usr/include/
 -rw-r--r--	root/root	usr/include/pcre2.h
 -rw-r--r--	root/root	usr/include/pcre2posix.h
 drwxr-xr-x	root/root	usr/lib/
+-rw-r--r--	root/root	usr/lib/libpcre2-16.a
+-rwxr-xr-x	root/root	usr/lib/libpcre2-16.la
+lrwxrwxrwx	root/root	usr/lib/libpcre2-16.so -> libpcre2-16.so.0.10.0
+lrwxrwxrwx	root/root	usr/lib/libpcre2-16.so.0 -> libpcre2-16.so.0.10.0
+-rwxr-xr-x	root/root	usr/lib/libpcre2-16.so.0.10.0
+-rw-r--r--	root/root	usr/lib/libpcre2-32.a
+-rwxr-xr-x	root/root	usr/lib/libpcre2-32.la
+lrwxrwxrwx	root/root	usr/lib/libpcre2-32.so -> libpcre2-32.so.0.10.0
+lrwxrwxrwx	root/root	usr/lib/libpcre2-32.so.0 -> libpcre2-32.so.0.10.0
+-rwxr-xr-x	root/root	usr/lib/libpcre2-32.so.0.10.0
 -rw-r--r--	root/root	usr/lib/libpcre2-8.a
 -rwxr-xr-x	root/root	usr/lib/libpcre2-8.la
 lrwxrwxrwx	root/root	usr/lib/libpcre2-8.so -> libpcre2-8.so.0.10.0
@@ -18,6 +28,8 @@ lrwxrwxrwx	root/root	usr/lib/libpcre2-posix.so -> libpcre2-posix.so.2.0.3
 lrwxrwxrwx	root/root	usr/lib/libpcre2-posix.so.2 -> libpcre2-posix.so.2.0.3
 -rwxr-xr-x	root/root	usr/lib/libpcre2-posix.so.2.0.3
 drwxr-xr-x	root/root	usr/lib/pkgconfig/
+-rw-r--r--	root/root	usr/lib/pkgconfig/libpcre2-16.pc
+-rw-r--r--	root/root	usr/lib/pkgconfig/libpcre2-32.pc
 -rw-r--r--	root/root	usr/lib/pkgconfig/libpcre2-8.pc
 -rw-r--r--	root/root	usr/lib/pkgconfig/libpcre2-posix.pc
 drwxr-xr-x	root/root	usr/share/
diff --git a/libpcre2/.signature b/libpcre2/.signature
index 658ce6c98..0509e9655 100644
--- a/libpcre2/.signature
+++ b/libpcre2/.signature
@@ -1,5 +1,5 @@
 untrusted comment: verify with /etc/ports/opt.pub
-RWSE3ohX2g5d/Yk0nu1b+yP3VsBFKywEZ93zO6J/hh/7yyHi0gvJba8c1s1e0/4dTvhRWhhDpPsTqxvOowveSE0Wpz2XVGXbdgI=
-SHA256 (Pkgfile) = a8e3f861560fd867e8ff6692f4349bbc7231a9e9f6b98858b0fbea7cb66ca1fc
-SHA256 (.footprint) = 7cfbb1e776d3effbf83f9e059bd6a0a1d07f2131b5393b0aa9857d985a1f47d2
+RWSE3ohX2g5d/XmNsQAEaojg9pqzGNRknikS+x7Jvsp+L65dwfdqQFXhgz18fDqvz/7gnJqTmWVamLazI8gT36itvtPabhzAigo=
+SHA256 (Pkgfile) = a3cd70297a954fae95806f58f55205abdc51f87b70736c255bbe49835a475ac8
+SHA256 (.footprint) = 1f86e60065f787fb5b0f3d2480f2c221b8cb9181f53e16852b4aa9e1921d4630
 SHA256 (pcre2-10.35.tar.bz2) = 9ccba8e02b0ce78046cdfb52e5c177f0f445e421059e43becca4359c669d4613
diff --git a/libpcre2/Pkgfile b/libpcre2/Pkgfile
index 6306013cf..38f0da9e4 100644
--- a/libpcre2/Pkgfile
+++ b/libpcre2/Pkgfile
@@ -5,13 +5,17 @@
 
 name=libpcre2
 version=10.35
-release=1
+release=2
 source=(https://ftp.pcre.org/pub/pcre/pcre2-$version.tar.bz2)
 
 build() {
     cd pcre2-$version
 
-    ./configure --prefix=/usr --enable-jit
+    ./configure \
+        --prefix=/usr \
+        --enable-jit \
+        --enable-pcre2-16 \
+        --enable-pcre2-32
 
     make
     make DESTDIR=$PKG install


More information about the crux-commits mailing list