Date: Wed, 2 Jun 2004 10:18:39 -0700 (PDT) From: Alexander Leidinger <netchild@FreeBSD.org> To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: ports/math/ndiff Makefile ports/math/ndiff/files patch-Makefile.in Message-ID: <200406021718.i52HIdPV013124@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
netchild 2004/06/02 10:18:39 PDT FreeBSD ports repository Modified files: math/ndiff Makefile math/ndiff/files patch-Makefile.in Log: Deal with the libgmp dependency properly: - Don't depend on math/libgmp-freebsd on FreeBSD <= 500023, use the base libgmp instead. On FreeBSD > 500023 depend on math/libgmp4, as math/libgmp-freebsd doesn't build on all architectures. - Don't add PREFIX/include and PREFIX/lib to the search paths by default, so on FreeBSD 4 the base libgmp is used. This protects from using one of the libgmp ports if installed without registering a dependency on it. - Keep from auto-detecting libgmp when WITHOUT_GMP is defined by specifying the arithmetic to use. Note: When using auto-detection and libgmp can't be found ndiff normally would check for extended precision arithmetic first and succeed with it. But using extended precision arithmetic causes the test suite to fail (i.e. lots of differences) on all architectures expect sparc64. Therefore specify double precision arithmetic for all other architectures when built with WITHOUT_GMP. Submitted by: marius Revision Changes Path 1.2 +17 -2 ports/math/ndiff/Makefile 1.2 +12 -0 ports/math/ndiff/files/patch-Makefile.in
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200406021718.i52HIdPV013124>