From bb745003280fb7b02e5c3015881fe195793022f1 Mon Sep 17 00:00:00 2001 From: Maho Nakata Date: Tue, 2 Sep 2008 02:10:57 +0000 Subject: Recognize the -pthread flag, and bump port revision. PR: 126899 Submitted by: Stephen Montgomery-Smith --- math/octave/Makefile | 2 +- math/octave/files/patch-mkoctfile.in | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 math/octave/files/patch-mkoctfile.in (limited to 'math/octave') diff --git a/math/octave/Makefile b/math/octave/Makefile index 7604a5b82791..faa9f9b379c8 100644 --- a/math/octave/Makefile +++ b/math/octave/Makefile @@ -7,7 +7,7 @@ PORTNAME= octave PORTVERSION= 3.0.1 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= math MASTER_SITES= ftp://ftp.octave.org/pub/octave/ \ ftp://ftp.u-aizu.ac.jp/pub/SciEng/numanal/Octave/bleeding-edge/ diff --git a/math/octave/files/patch-mkoctfile.in b/math/octave/files/patch-mkoctfile.in new file mode 100644 index 000000000000..2fec1d78cc2a --- /dev/null +++ b/math/octave/files/patch-mkoctfile.in @@ -0,0 +1,11 @@ +--- mkoctfile.in-orig 2008-08-27 17:46:53.000000000 -0500 ++++ mkoctfile.in 2008-08-27 17:47:45.000000000 -0500 +@@ -278,7 +278,7 @@ + -D*) + defs="$defs $1" + ;; +- -[lLR]* | -Wl,*) ++ -[lLR]* | -pthread | -Wl,*) + ldflags="$ldflags $1" + ;; + -M | --depend) -- cgit v1.2.3