pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/gmp
Module Name: pkgsrc
Committed By: nia
Date: Thu May 22 09:45:47 UTC 2025
Modified Files:
pkgsrc/devel/gmp: Makefile distinfo
Added Files:
pkgsrc/devel/gmp/patches: patch-configure.ac
Log Message:
gmp: Add support for NetBSD/mipsn64
To generate a diff of this commit:
cvs rdiff -u -r1.92 -r1.93 pkgsrc/devel/gmp/Makefile
cvs rdiff -u -r1.60 -r1.61 pkgsrc/devel/gmp/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/gmp/patches/patch-configure.ac
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/gmp/Makefile
diff -u pkgsrc/devel/gmp/Makefile:1.92 pkgsrc/devel/gmp/Makefile:1.93
--- pkgsrc/devel/gmp/Makefile:1.92 Sat Aug 5 07:08:26 2023
+++ pkgsrc/devel/gmp/Makefile Thu May 22 09:45:47 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.92 2023/08/05 07:08:26 adam Exp $
+# $NetBSD: Makefile,v 1.93 2025/05/22 09:45:47 nia Exp $
DISTNAME= gmp-6.3.0
CATEGORIES= devel math
@@ -40,6 +40,10 @@ PLIST.cxx= yes
ABI= o32
.endif
+.if ${MACHINE_ARCH:Mmipsn64*}
+CONFIGURE_ENV+= ABI=64
+.endif
+
.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64"
. if !empty(PKGSRC_COMPILER:Msunpro)
# don't use x86 assembly (it doesn't build)
Index: pkgsrc/devel/gmp/distinfo
diff -u pkgsrc/devel/gmp/distinfo:1.60 pkgsrc/devel/gmp/distinfo:1.61
--- pkgsrc/devel/gmp/distinfo:1.60 Sat Aug 5 07:08:26 2023
+++ pkgsrc/devel/gmp/distinfo Thu May 22 09:45:47 2025
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.60 2023/08/05 07:08:26 adam Exp $
+$NetBSD: distinfo,v 1.61 2025/05/22 09:45:47 nia Exp $
BLAKE2s (gmp-6.3.0.tar.bz2) = 5ed7b692aef1120414dcbde2222d11479e9f7251f8781520dc0041099125612c
SHA512 (gmp-6.3.0.tar.bz2) = 3b684c9bcb9ede2b7e54d0ba4c9764bfa17c20d4f3000017c553b6f1e135b536949580ff37341680c25dc236cfe0ba1db8cfdfe619ce013656189ef0871b89f8
Size (gmp-6.3.0.tar.bz2) = 2643888 bytes
SHA1 (patch-acinclude.m4) = 3f76c0aa8d29ec815a93448f9c4bc976ebdf7a2a
+SHA1 (patch-configure.ac) = a9cbe82c8250cfc3f0bba8638bc173715e853377
Added files:
Index: pkgsrc/devel/gmp/patches/patch-configure.ac
diff -u /dev/null pkgsrc/devel/gmp/patches/patch-configure.ac:1.1
--- /dev/null Thu May 22 09:45:47 2025
+++ pkgsrc/devel/gmp/patches/patch-configure.ac Thu May 22 09:45:47 2025
@@ -0,0 +1,15 @@
+$NetBSD: patch-configure.ac,v 1.1 2025/05/22 09:45:47 nia Exp $
+
+Detect NetBSD/mipsn64 as being a MIPS architecture.
+
+--- configure.ac.orig 2025-05-22 09:41:23.909165803 +0000
++++ configure.ac
+@@ -1044,7 +1044,7 @@ case $host in
+ GMP_INCLUDE_MPN(mips32/mips-defs.m4)
+
+ case $host in
+- [mips64*-*-* | mipsisa64*-*-* | mips*-*-irix[6789]*])
++ [mips64*-*-* | mipsn64*-*-* | mipsisa64*-*-* | mips*-*-irix[6789]*])
+ abilist="n32 64 o32"
+
+ cclist_n32="gcc cc"
Home |
Main Index |
Thread Index |
Old Index