freebsd-ports/databases/tora/files/patch-config_m4_qtkde.m4
Raphael Kubo da Costa 6699fae7a2 Update QScintilla 2.10.2.
Upstream has renamed its libraries and we no longer need to patch
devel/qscintilla-qt5 to create a library whose name does not conflict with
devel/qscintilla's. However, the library names are different so we need to bump
PORTREVISION in several ports (the SOVERSION has changed too).

Thanks to antoine for the exp-run.

PR:		225928
2018-02-18 09:55:10 +00:00

21 lines
667 B
Text

The library is called libqscintilla2_qt4.so since 2.10.2.
--- config/m4/qtkde.m4.orig 2018-02-16 21:51:49 UTC
+++ config/m4/qtkde.m4
@@ -112,7 +112,7 @@ AC_DEFUN([TORA_CHECK_QSCINTILLA],
@LIB_DCOP@ \
@LIB_KHTML@ \
$scin_ldflags"
- LIBS="-lqscintilla2"
+ LIBS="-lqscintilla2_qt4"
AC_LANG_PUSH(C++)
@@ -148,7 +148,7 @@ Or alternatively see if your OS offers a QScintilla 2
AC_DEFINE_UNQUOTED(QSCINTILLA_DLL, 1, [True if on Windows.])
AC_SUBST(QSCINTILLA_CXXFLAGS, $scin_cflags)
- AC_SUBST(QSCINTILLA_LDFLAGS, "$scin_ldflags -lqscintilla2")
+ AC_SUBST(QSCINTILLA_LDFLAGS, "$scin_ldflags -lqscintilla2_qt4")
AC_MSG_RESULT(yes)
])