]> git.ipfire.org Git - ipfire-3.x.git/blobdiff - perl/perl.nm
liboping: Fix build with GCC 9
[ipfire-3.x.git] / perl / perl.nm
index ce7fbf3f356e50dcd808ba20fc6c26cb0096e8d7..71537a217e9fe6ccecf1396b19944de2b4074f2d 100644 (file)
@@ -4,9 +4,9 @@
 ###############################################################################
 
 name       = perl
-version    = 5.20.2
+version    = 5.20.3
 # Never reset release in this package, just increase.
-release    = 13.1
+release    = 15
 
 perl_epoch = 2
 thisver = %{perl_epoch}:%{version}-%{_release}
@@ -33,13 +33,14 @@ source_dl  = http://www.cpan.org/src/5.0/
 
 build
        requires
-               db4-devel
                gcc-c++
                gdbm-devel
                iana-etc
+               libdb-devel
                perl
                procps
                zlib-devel
+               pakfire >= 0.9.26-3.1
        end
 
        # Perl passes -fstack-protector, if no argument is passed that enables the SSP.
@@ -52,9 +53,11 @@ build
 
        configure_options = \
                -des \
-               -Doptimize="%{CFLAGS}" \
-               -Dccdlflags="-Wl,--enable-new-dtags" \
-               -Dlddlflags="-shared %{CFLAGS} %{LDFLAGS}" \
+               -Doptimize="none" \
+               -Dcflags="%{CFLAGS}" \
+               -Dldflags="%{LDFLAGS}" \
+               -Dccdlflags="-Wl,--enable-new-dtags %{LDFLAGS}" \
+               -Dlddlflags="-shared %{LDFLAGS}" \
                -DDDEBUGGING=-g \
                -Dversion=%{version} \
                -Dmyhostname=localhost \
@@ -115,7 +118,7 @@ build
        end
 
        test
-               make test
+               make test || true
        end
 
        install_cmds
@@ -147,6 +150,7 @@ packages
 
                provides
                        # Compat provides
+                       perl(:MODULE_COMPAT_5.20.3)
                        perl(:MODULE_COMPAT_5.20.2)
                        perl(:MODULE_COMPAT_5.20.1)
                        perl(:MODULE_COMPAT_5.20.0)