ports/126899: mkoctfile in math/octave doesn't recognise the -pthread flag
Stephen Montgomery-Smith
stephen at math.missouri.edu
Thu Aug 28 00:30:01 UTC 2008
>Number: 126899
>Category: ports
>Synopsis: mkoctfile in math/octave doesn't recognise the -pthread flag
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Thu Aug 28 00:30:00 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: Stephen Montgomery-Smith
>Release: FreeBSD 7.0-STABLE i386
>Organization:
>Environment:
System: FreeBSD cauchy 7.0-STABLE FreeBSD 7.0-STABLE #0: Mon Jul 14 15:26:47 CDT 2008 stephen at cauchy:/usr/obj/usr/src/sys/GENERIC i386
>Description:
mkoctfile in math/octave doesn't recognise the -pthread flag
>How-To-Repeat:
Try to build the octcdf octave forge package.
>Fix:
Add this file to the math/octave port. You probably need to do it to the
math/octave-devel port as well. And you probably want to bump the revision
numbers as well.
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# files/patch-mkoctfile.in
#
echo x - files/patch-mkoctfile.in
sed 's/^X//' >files/patch-mkoctfile.in << '97ba0e320756a451e6ab7e735c1c9483'
X--- mkoctfile.in-orig 2008-08-27 17:46:53.000000000 -0500
X+++ mkoctfile.in 2008-08-27 17:47:45.000000000 -0500
X@@ -278,7 +278,7 @@
X -D*)
X defs="$defs $1"
X ;;
X- -[lLR]* | -Wl,*)
X+ -[lLR]* | -pthread | -Wl,*)
X ldflags="$ldflags $1"
X ;;
X -M | --depend)
97ba0e320756a451e6ab7e735c1c9483
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list