Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Aug 2008 18:47:49 -0500 (CDT)
From:      Stephen Montgomery-Smith <stephen@math.missouri.edu>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/126899: mkoctfile in math/octave doesn't recognise the -pthread flag
Message-ID:  <200808272347.m7RNlnx1020206@cauchy.math.missouri.edu>
Resent-Message-ID: <200808280030.m7S0U1bl089889@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200808272347.m7RNlnx1020206>