summaryrefslogtreecommitdiff
path: root/math/ndiff/files/patch-Makefile.in
diff options
context:
space:
mode:
authorAlexander Leidinger <netchild@FreeBSD.org>2004-06-02 17:18:39 +0000
committerAlexander Leidinger <netchild@FreeBSD.org>2004-06-02 17:18:39 +0000
commiteb050698650cd1c5fc82b78ea5edfd581127e819 (patch)
treeb582210cb09ead60e0ca55760fb1a0186c951d9c /math/ndiff/files/patch-Makefile.in
parentUpdate to libraries from FreeBSD 4.10-RELEASE. (diff)
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
Diffstat (limited to '')
-rw-r--r--math/ndiff/files/patch-Makefile.in12
1 files changed, 12 insertions, 0 deletions
diff --git a/math/ndiff/files/patch-Makefile.in b/math/ndiff/files/patch-Makefile.in
index a9e603a03884..6d2926c662df 100644
--- a/math/ndiff/files/patch-Makefile.in
+++ b/math/ndiff/files/patch-Makefile.in
@@ -1,5 +1,17 @@
--- Makefile.in.orig Wed Feb 18 14:17:22 2004
+++ Makefile.in Wed Feb 18 14:19:31 2004
+@@ -191,9 +191,9 @@
+
+ DEFINES = -DVERSION='"@VERSION@"' -DDATE='"@DATE@"' $(XDEFINES)
+
+-INCLUDES = -I. -I$(prefix)/include $(XINCLUDES)
++INCLUDES = -I. $(XINCLUDES)
+
+-LDFLAGS = @LDFLAGS@ -L$(prefix)/lib $(XLDFLAGS)
++LDFLAGS = @LDFLAGS@ $(XLDFLAGS)
+
+ LIBS = @LIBS@ $(XLIBS)
+
@@ -602,14 +602,12 @@
if test -f $(PROGNAME) ; \
then \