summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorMaho Nakata <maho@FreeBSD.org>2008-02-14 07:13:29 +0000
committerMaho Nakata <maho@FreeBSD.org>2008-02-14 07:13:29 +0000
commit12cb98ee35c32ab02cc5fee52a6d2a802fda1ba1 (patch)
tree017add2ac0236a07d67323682d3bf6608c0f2561 /math
parentlibmicrohttpd is a small C library for embedding HTTP server functionality (diff)
Use the C++ compiler for linking liboctinterp.so in order
to avoid lots of "Undefined symbol" errors also the tests passes. Submitted by: Ryan Hinton <rwh4s@virginia.edu>
Notes
Notes: svn path=/head/; revision=207191
Diffstat (limited to 'math')
-rw-r--r--math/octave/files/patch-configure.in12
1 files changed, 12 insertions, 0 deletions
diff --git a/math/octave/files/patch-configure.in b/math/octave/files/patch-configure.in
new file mode 100644
index 000000000000..4bfa05a0861b
--- /dev/null
+++ b/math/octave/files/patch-configure.in
@@ -0,0 +1,12 @@
+--- configure.in~ 2008-02-12 17:58:15.000000000 +0000
++++ configure.in 2008-02-12 17:56:53.000000000 +0000
+@@ -974,7 +974,7 @@
+ SH_LDFLAGS='-shared -fPIC'
+ ;;
+ *-*-freebsd*)
+- SH_LD='$(CC)'
++ SH_LD='$(CXX)'
+ SH_LDFLAGS="-shared -Wl,-x"
+ RLD_FLAG='-Wl,-rpath -Wl,$(octlibdir)'
+ ;;
+