aboutsummaryrefslogtreecommitdiff
path: root/math/octave
diff options
context:
space:
mode:
authorStephen Montgomery-Smith <stephen@FreeBSD.org>2018-03-01 19:41:29 +0000
committerStephen Montgomery-Smith <stephen@FreeBSD.org>2018-03-01 19:41:29 +0000
commit11ba7ade14980d9eeafbedbedfa35cfc671a0ae8 (patch)
tree890844660e7a67f9bc924c6ead151c27c7739287 /math/octave
parentb3e7b247fbf859b60f84b7fd8fa7861db28114b0 (diff)
downloadports-11ba7ade14980d9eeafbedbedfa35cfc671a0ae8.tar.gz
ports-11ba7ade14980d9eeafbedbedfa35cfc671a0ae8.zip
- Make sure qscintilla links correctly to octave (otherwise the built in text editor
doesn't work in the GUI version).
Notes
Notes: svn path=/head/; revision=463350
Diffstat (limited to 'math/octave')
-rw-r--r--math/octave/Makefile2
-rw-r--r--math/octave/files/patch-configure9
2 files changed, 10 insertions, 1 deletions
diff --git a/math/octave/Makefile b/math/octave/Makefile
index 8b7efccd19c0..ba5f47cec46c 100644
--- a/math/octave/Makefile
+++ b/math/octave/Makefile
@@ -3,7 +3,7 @@
PORTNAME= octave
PORTVERSION= 4.2.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= math java
MASTER_SITES= GNU
diff --git a/math/octave/files/patch-configure b/math/octave/files/patch-configure
index d230604579da..f0fa95cd7ddc 100644
--- a/math/octave/files/patch-configure
+++ b/math/octave/files/patch-configure
@@ -225,6 +225,15 @@
soname_spec='$libname$release$shared_ext$major'
need_version=no
need_lib_prefix=no
+@@ -34697,7 +34697,7 @@ $as_echo_n "checking Qt version $ver...
+ case "$qt_version" in
+ 4)
+ QT_MODULES="QtCore QtGui QtNetwork QtOpenGL"
+- octave_qscintilla_libnames=qscintilla2
++ octave_qscintilla_libnames=qscintilla2_qt4
+ ;;
+ 5)
+ QT_MODULES="Qt5Core Qt5Gui Qt5Network Qt5OpenGL Qt5PrintSupport"
@@ -35738,7 +35738,7 @@ esac
fi