144e2930d7
use FLAVOR=lua52 to use lua 5.2 with these ports.
36 lines
1.5 KiB
Plaintext
36 lines
1.5 KiB
Plaintext
$OpenBSD: patch-TeXworks_pro,v 1.5 2012/07/10 15:22:45 jasper Exp $
|
|
--- TeXworks.pro.orig Wed Jun 29 19:03:14 2011
|
|
+++ TeXworks.pro Mon Jul 9 16:00:26 2012
|
|
@@ -47,11 +47,11 @@ QMAKE_CXXFLAGS_WARN_ON += -Wno-unknown-pragmas
|
|
|
|
unix:!macx {
|
|
TARGET = texworks
|
|
- isEmpty(INSTALL_PREFIX):INSTALL_PREFIX = /usr/local
|
|
+ isEmpty(INSTALL_PREFIX):INSTALL_PREFIX = ${PREFIX}
|
|
isEmpty(DATA_DIR):DATA_DIR = $$INSTALL_PREFIX/share
|
|
isEmpty(TW_HELPPATH):TW_HELPPATH = $$DATA_DIR/texworks-help
|
|
isEmpty(TW_PLUGINPATH):TW_PLUGINPATH = $$INSTALL_PREFIX/lib/texworks
|
|
- isEmpty(TW_DICPATH):TW_DICPATH = /usr/share/myspell/dicts
|
|
+ isEmpty(TW_DICPATH):TW_DICPATH = ${LOCALBASE}/share/mozilla-dicts
|
|
} else {
|
|
TARGET = TeXworks
|
|
QMAKE_CXXFLAGS += -fexceptions
|
|
@@ -144,7 +144,7 @@ win32 { # paths here are specific to my setup
|
|
QMAKE_CXXFLAGS += -DSTATIC_SCRIPTING_PLUGINS
|
|
|
|
LIBS += -Lplugins-src/TWLuaPlugin/release -lTWLuaPlugin
|
|
- LIBS += -llua
|
|
+ LIBS += ${MODLUA_LIB}
|
|
|
|
LIBS += -Lplugins-src/TWPythonPlugin/release -lTWPythonPlugin
|
|
LIBS += -Lc:/Python26/libs -lpython26
|
|
@@ -243,7 +243,7 @@ unix:!macx { # installation on Unix-ish platforms
|
|
isEmpty(BIN_DIR):BIN_DIR = $$INSTALL_PREFIX/bin
|
|
isEmpty(DOCS_DIR):DOCS_DIR = $$DATA_DIR/doc/texworks
|
|
isEmpty(ICON_DIR):ICON_DIR = $$DATA_DIR/pixmaps
|
|
- isEmpty(MAN_DIR):MAN_DIR = $$DATA_DIR/man/man1
|
|
+ isEmpty(MAN_DIR):MAN_DIR = $$INSTALL_PREFIX/man/man1
|
|
isEmpty(DESKTOP_DIR):DESKTOP_DIR = $$DATA_DIR/applications
|
|
|
|
target.path = $$BIN_DIR
|