notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photos
All times are UTC
Ukraine
The recently imposed "must be logged in" restriction is a response to increased bot traffic on the site. This affects search, commits, and vuxml pages.
Search engines are not blocked. Try using "site:www.freshports.org" and your search terms.
After the ports freeze to fix some stuff, the freeze is over. I have some work to do before FreshPorts can start processing commits again before it can start processing again. I've created an issue for that.
Port details on branch 2026Q3
gmp Free library for arbitrary precision arithmetic
6.3.0 math on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 6.3.0Version of this port present on the latest quarterly branch.
Maintainer: ale@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2026-08-17 19:42:10
Last Update: 2026-08-17 19:40:28
Commit Hash: 011dee7
Also Listed In: devel
License: LGPL3
WWW:
https://gmplib.org/
Description:
GMP is a free library for arbitrary precision arithmetic, operating on signed integers, rational numbers, and floating point numbers. There is no limit to the precision except the ones implied by the available memory in the machine GMP runs on. GMP has a rich set of functions, and the functions have a regular interface. GMP is designed to be as fast as possible, both for small operands and for huge operands. The speed is achieved by using fullwords as the basic arithmetic type, by using fast algorithms, with carefully optimized assembly code for the most common inner loops for a lot of CPUs, and by a general emphasis on speed (instead of simplicity or elegance). GMP is believed to be faster than any other similar library. The advantage for GMP increases with the operand sizes for certain operations, since GMP in many cases has asymptotically faster algorithms.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (19 items)
Collapse this list.
  1. @ldconfig
  2. /usr/local/share/licenses/gmp-6.3.0/catalog.mk
  3. /usr/local/share/licenses/gmp-6.3.0/LICENSE
  4. /usr/local/share/licenses/gmp-6.3.0/LGPL3
  5. include/gmp.h
  6. include/gmpxx.h
  7. lib/libgmp.a
  8. lib/libgmp.so
  9. lib/libgmp.so.10
  10. lib/libgmp.so.10.5.0
  11. lib/libgmpxx.a
  12. lib/libgmpxx.so
  13. lib/libgmpxx.so.4
  14. lib/libgmpxx.so.4.7.0
  15. libdata/pkgconfig/gmp.pc
  16. libdata/pkgconfig/gmpxx.pc
  17. @owner
  18. @group
  19. @mode
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • gmp>0:math/gmp
To install the port:
cd /usr/ports/math/gmp/ && make install clean
To add the package, run one of these commands:
  • pkg install math/gmp
  • pkg install gmp
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: gmp
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1691063897 SHA256 (gmp-6.3.0.tar.xz) = a3c2b80201b89e68616f4ad30bc66aee4927c3ce50e33929ca819d5c43538898 SIZE (gmp-6.3.0.tar.xz) = 2094196

Packages (timestamps in pop-ups are UTC):
gmp
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest6.3.06.3.0n/an/an/an/an/an/a
FreeBSD:13:quarterly6.3.06.3.0n/an/an/an/an/an/a
FreeBSD:14:latest6.3.06.3.06.2.16.3.06.3.06.2.1-6.2.1
FreeBSD:14:quarterly6.3.06.3.0-6.3.06.3.06.3.06.3.06.3.0
FreeBSD:15:latest6.3.06.3.0n/a6.3.0n/an/a6.3.06.3.0
FreeBSD:15:quarterly6.3.06.3.0n/a-n/an/a--
FreeBSD:16:latest6.3.06.3.0n/a-n/an/a--
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. makeinfo : print/texinfo
Runtime dependencies:
  1. indexinfo : print/indexinfo
This port is required by:
for Libraries
  1. devel/rubygem-re2
  2. editors/emacs
  3. editors/emacs-devel
  4. lang/gcc15
  5. lang/gcc15-devel
  6. lang/gcc16
  7. lang/gcc16-devel
Expand this list (12 items / 5 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. lang/gcc17-devel
  3. math/gretl
  4. multimedia/ffmpeg4
  5. multimedia/mkvtoolnix
  6. sysutils/swtpm
  7. Collapse this list.

Configuration Options:
===> The following configuration options are available for gmp-6.3.0: CPU_OPTS=off: Enable assembly optimizations for your CPU INFO=on: Build and/or install GNU info pages ===> Use 'make config' to modify these settings
Options name:
math_gmp
USES:
cpe libtool tar:xz pathfix makeinfo
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (10 items)
Collapse this list.
  1. ftp://ftp.fu-berlin.de/unix/gnu/gmp/
  2. ftp://ftp.mirrorservice.org/sites/ftp.gnu.org/gnu/gmp/
  3. ftp://mirrors.rit.edu/gnu/gmp/
  4. http://ftp.halifax.rwth-aachen.de/gnu/gmp/
  5. http://mirror.navercorp.com/gnu/gmp/
  6. https://ftp.gnu.org/gnu/gmp/
  7. https://ftpmirror.gnu.org/gmp/
  8. https://mirror.netcologne.de/gnu/gmp/
  9. https://mirrors.kernel.org/gnu/gmp/
  10. https://www.nic.funet.fi/pub/gnu/gnu/gmp/
Collapse this list.

Number of commits found: 1

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
6.3.0
17 Aug 2026 19:40:28
commit hash: 011dee72e13fdbd949787c88505fcb62cd52e4d3commit hash: 011dee72e13fdbd949787c88505fcb62cd52e4d3commit hash: 011dee72e13fdbd949787c88505fcb62cd52e4d3commit hash: 011dee72e13fdbd949787c88505fcb62cd52e4d3 files touched by this commit
Dimitry Andric (dim) search for other commits by this committer
math/gmp: fix build after base cd0727ec709b

After base cd0727ec709bb54f8f82104f6113284a15dd3464 ("libc: Add
<stdio.h> C23 feature test macro"), math/gmp fails to build with errors
similar to:

  inp_str.c:63:10: warning: call to undeclared function
'__gmpz_inp_str_nowhite'; ISO C99 and later do not support implicit function
declarations [-Wimplicit-function-declaration]
     63 |   return mpz_inp_str_nowhite (x, stream, base, c, nread);
        |          ^
  ../gmp-impl.h:1782:29: note: expanded from macro 'mpz_inp_str_nowhite'
   1782 | #define mpz_inp_str_nowhite __gmpz_inp_str_nowhite
        |                             ^
  inp_str.c:68:1: error: conflicting types for '__gmpz_inp_str_nowhite'
     68 | mpz_inp_str_nowhite (mpz_ptr x, FILE *stream, int base, int c, size_t
nread)
        | ^
(Only the first 15 lines of the commit message are shown above View all of this commit message)

Number of commits found: 1