On Thu, 10 Jul 2025 17:19:53 +0200,
Stuart Henderson <[email protected]> wrote:
> 
> 
> +DISTFILES=             ${DISTNAME}${EXTRACT_SUFX}
> 
> that's a noop and doesn't seem useful to have
> 
> and DPB_PROPERTIES usually goes near the top of the Makefile, I'd prefer
> to stick to that - though not sure it's worthwhile for this port which
> doesn't take very long to build
> 
> > https://marc.info/?l=openbsd-ports&m=174537668822340&w=2
> 
> out of the two, I'd probably go with that simpler diff, there doesn't
> seem a need to reformat the Makefile
> 

This was missed pieces from a port which included pari-data.

Here a cleaner version of diff.

Ok to update it?

Index: Makefile
===================================================================
RCS file: /home/cvs/ports/math/pari/Makefile,v
diff -u -p -r1.26 Makefile
--- Makefile    15 Apr 2024 11:38:53 -0000      1.26
+++ Makefile    10 Jul 2025 16:21:49 -0000
@@ -1,11 +1,10 @@
-COMMENT=       number theory-oriented computer algebra system
+COMMENT=               number theory-oriented computer algebra system
 
-V=             2.15.5
+V=             2.17.2
 DISTNAME=      pari-$V
 CATEGORIES=    math
-REVISION=      1
 
-SHARED_LIBS +=         pari-gmp                0.0     # 2.15.4
+SHARED_LIBS +=         pari-gmp                1.0     # 2.17.2
 
 HOMEPAGE=      https://pari.math.u-bordeaux.fr/
 
Index: distinfo
===================================================================
RCS file: /home/cvs/ports/math/pari/distinfo,v
diff -u -p -r1.7 distinfo
--- distinfo    25 Feb 2024 17:00:25 -0000      1.7
+++ distinfo    6 Jun 2025 09:45:37 -0000
@@ -1,2 +1,2 @@
-SHA256 (pari-2.15.5.tar.gz) = Dv3adRXZ2VT2MyTDSzTFYOYPc6gcOSSnEmCizJHV+YE=
-SIZE (pari-2.15.5.tar.gz) = 5186798
+SHA256 (pari-2.17.2.tar.gz) = fTBXj1z5exN6KB9FSNExqvwM3oa8/RDMHhvXKoHmUGE=
+SIZE (pari-2.17.2.tar.gz) = 5326642
Index: patches/patch-config_Makefile_SH
===================================================================
RCS file: /home/cvs/ports/math/pari/patches/patch-config_Makefile_SH,v
diff -u -p -r1.1 patch-config_Makefile_SH
--- patches/patch-config_Makefile_SH    3 Sep 2023 14:19:51 -0000       1.1
+++ patches/patch-config_Makefile_SH    29 May 2025 16:11:06 -0000
@@ -1,7 +1,7 @@
 Index: config/Makefile.SH
 --- config/Makefile.SH.orig
 +++ config/Makefile.SH
-@@ -515,8 +515,6 @@ install-lib-dyn-base:
+@@ -507,8 +507,6 @@ install-lib-dyn-base:
  install-lib-dyn-link: install-lib-dyn-base
        -if test "\$(LIBPARI_DYN)" != "\$(LIBDIR)/\$(LIBPARI_SO)"; then \
            \$(LN) \$(LIBPARI_DYN) \$(LIBDIR)/\$(LIBPARI_SO); fi
Index: patches/patch-config_get_cc
===================================================================
RCS file: /home/cvs/ports/math/pari/patches/patch-config_get_cc,v
diff -u -p -r1.3 patch-config_get_cc
--- patches/patch-config_get_cc 3 Sep 2023 14:19:51 -0000       1.3
+++ patches/patch-config_get_cc 29 May 2025 16:11:06 -0000
@@ -9,6 +9,6 @@ Index: config/get_cc
    ASMINLINE=yes
 -  OPTFLAGS="$OPTFLAGS $warn"
 +  OPTFLAGS="$CFLAGS $warn"
-   cmd="$CC $CFLAGS $extraflag -ffp-contract=off -o $exe gnu.c"
+   cmd="$CC $CFLAGS $extraflag -fno-strict-aliasing -o $exe gnu.c"
    . log_cmd
    if test -s $exe; then
Index: patches/patch-doc_gphelp_in
===================================================================
RCS file: /home/cvs/ports/math/pari/patches/patch-doc_gphelp_in,v
diff -u -p -r1.4 patch-doc_gphelp_in
--- patches/patch-doc_gphelp_in 15 Apr 2024 11:38:53 -0000      1.4
+++ patches/patch-doc_gphelp_in 29 May 2025 16:11:06 -0000
@@ -3,7 +3,7 @@ Fix path so gphelp will work.
 Index: doc/gphelp.in
 --- doc/gphelp.in.orig
 +++ doc/gphelp.in
-@@ -134,7 +134,7 @@ sub get_docdir {
+@@ -136,7 +136,7 @@ sub get_docdir {
        $d =~ s,doc/\.\./doc,doc,;
      }
    }
Index: pkg/PLIST
===================================================================
RCS file: /home/cvs/ports/math/pari/pkg/PLIST,v
diff -u -p -r1.5 PLIST
--- pkg/PLIST   3 Sep 2023 14:19:51 -0000       1.5
+++ pkg/PLIST   6 Jun 2025 10:04:07 -0000
@@ -1,5 +1,5 @@
 bin/gp
-@bin bin/gp-2.15
+@bin bin/gp-2.17
 bin/gphelp
 bin/tex2mail
 include/pari/
@@ -21,12 +21,11 @@ include/pari/paripriv.h
 include/pari/paristio.h
 include/pari/parisys.h
 include/pari/paritune.h
-@comment lib/libpari.a
 @lib lib/libpari-gmp.so.${LIBpari-gmp_VERSION}
 @so lib/libpari.so
 lib/pari/
 lib/pari/pari.cfg
-@man man/man1/gp-2.15.1
+@man man/man1/gp-2.17.1
 @man man/man1/gp.1
 @man man/man1/gphelp.1
 @man man/man1/pari.1



-- 
wbr, Kirill

Reply via email to