- 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>
This commit is contained in:
parent
7783646f65
commit
3b2ea33428
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=393770
1 changed files with 18 additions and 0 deletions
18
math/octave-forge-interval/files/patch-Makefile
Normal file
18
math/octave-forge-interval/files/patch-Makefile
Normal file
|
@ -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) $<
|
||||
|
Loading…
Reference in a new issue