aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authormaho <maho@FreeBSD.org>2008-02-14 15:13:29 +0800
committermaho <maho@FreeBSD.org>2008-02-14 15:13:29 +0800
commitecef09523c0243cdb2376cee724d3d17eae76cec (patch)
treef60892127a27092bc84646494ff16f7ec814a9bd /math
parent5180b4cebc54607fd96b9be5cd50e2a9b1ec3f01 (diff)
downloadfreebsd-ports-graphics-ecef09523c0243cdb2376cee724d3d17eae76cec.tar.gz
freebsd-ports-graphics-ecef09523c0243cdb2376cee724d3d17eae76cec.tar.zst
freebsd-ports-graphics-ecef09523c0243cdb2376cee724d3d17eae76cec.zip
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>
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 00000000000..4bfa05a0861
--- /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)'
+ ;;
+