diff options
author | Stephen Montgomery-Smith <stephen@FreeBSD.org> | 2015-08-09 09:18:21 +0000 |
---|---|---|
committer | Stephen Montgomery-Smith <stephen@FreeBSD.org> | 2015-08-09 09:18:21 +0000 |
commit | 3b2ea334280eb6fd90baf4cbf2ad6e847f9f6f23 (patch) | |
tree | cae527ca0fb509a80a190cfe1ff8f94e12a520f6 /math | |
parent | 7783646f65d4a373c3d69c81f9ea96149fc5c5ac (diff) | |
download | ports-3b2ea334280eb6fd90baf4cbf2ad6e847f9f6f23.tar.gz ports-3b2ea334280eb6fd90baf4cbf2ad6e847f9f6f23.zip |
- Add patch that allows port to build on FreeBSD 10 with i386 architecture.
Reference: http://beefy5.nyi.freebsd.org/data/101i386-default/393750/logs/octave-forge-interval-1.1.0.log
Submitted by: Oliver Heimlich <oheim@posteo.de>
Notes
Notes:
svn path=/head/; revision=393770
Diffstat (limited to 'math')
-rw-r--r-- | math/octave-forge-interval/files/patch-Makefile | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/math/octave-forge-interval/files/patch-Makefile b/math/octave-forge-interval/files/patch-Makefile new file mode 100644 index 000000000000..dea69d8af150 --- /dev/null +++ b/math/octave-forge-interval/files/patch-Makefile @@ -0,0 +1,18 @@ +--- Makefile.orig 2015-08-09 09:08:20 UTC ++++ Makefile +@@ -25,13 +25,13 @@ OBJ = mpfr_function_d.oct \ + + LDFLAGS_MPFR =-lmpfr -lgmp + ## Use important flags in XTRA_CFLAGS for OpenMP (workaround for bug #45280) +-XTRA_CFLAGS =$(shell $(MKOCTFILE) -p XTRA_CFLAGS) ++CFLAG_OPENMP =$(findstring -fopenmp,$(shell $(MKOCTFILE) -p XTRA_CFLAGS)) + + all: $(OBJ) + + ## GNU MPFR api oct-files + mpfr_matrix_mul_d.oct: mpfr_%.oct: mpfr_%.cc mpfr_commons.cc +- $(MKOCTFILE) -o $@ $(LDFLAGS_MPFR) $(XTRA_CFLAGS) $< ++ $(MKOCTFILE) -o $@ $(LDFLAGS_MPFR) $(CFLAG_OPENMP) $< + mpfr_%.oct: mpfr_%.cc mpfr_commons.cc + $(MKOCTFILE) -o $@ $(LDFLAGS_MPFR) $< + |