summaryrefslogtreecommitdiff
path: root/cad/qcad/patches/patch-shared__app.pri
diff options
context:
space:
mode:
Diffstat (limited to 'cad/qcad/patches/patch-shared__app.pri')
-rw-r--r--cad/qcad/patches/patch-shared__app.pri13
1 files changed, 8 insertions, 5 deletions
diff --git a/cad/qcad/patches/patch-shared__app.pri b/cad/qcad/patches/patch-shared__app.pri
index 73266ae399f..d477b43b96b 100644
--- a/cad/qcad/patches/patch-shared__app.pri
+++ b/cad/qcad/patches/patch-shared__app.pri
@@ -1,15 +1,19 @@
-$NetBSD: patch-shared__app.pri,v 1.3 2019/07/31 19:30:21 plunky Exp $
+$NetBSD: patch-shared__app.pri,v 1.4 2022/05/24 05:17:12 plunky Exp $
fix build for pkgsrc, by allowing qmake to link binaries in situ
and create an install target
---- shared_app.pri.orig 2019-02-27 15:06:55.000000000 +0000
+--- shared_app.pri.orig 2022-03-25 09:42:54.000000000 +0000
+++ shared_app.pri
-@@ -1,22 +1,21 @@
+@@ -1,25 +1,24 @@
include($$PWD/shared.pri)
+ lessThan(QT_MAJOR_VERSION, 6) {
+- LIBS += -l$${RLIBNAME}ecmaapi
++ LIBS += -L$$PWD/src/scripting/ecmaapi -l$${RLIBNAME}ecmaapi
+ }
+
LIBS += \
-- -l$${RLIBNAME}ecmaapi \
- -l$${RLIBNAME}gui \
- -l$${RLIBNAME}entity \
- -l$${RLIBNAME}operations \
@@ -20,7 +24,6 @@ and create an install target
- -l$${RLIBNAME}core \
- -l$${RLIBNAME}stemmer \
- -lstemmer
-+ -L$$PWD/src/scripting/ecmaapi -l$${RLIBNAME}ecmaapi \
+ -L$$PWD/src/gui -l$${RLIBNAME}gui \
+ -L$$PWD/src/entity -l$${RLIBNAME}entity \
+ -L$$PWD/src/operations -l$${RLIBNAME}operations \