1234567891011121314151617181920212223 |
- $OpenBSD: patch-src_src_pro,v 1.7 2016/10/31 15:46:36 landry Exp $
- Properly set translations/plugins paths
- --- src/src.pro.orig Tue Sep 6 00:29:45 2016
- +++ src/src.pro Fri Oct 28 08:21:37 2016
- @@ -156,7 +156,7 @@ unix:!macx {
- LIBDIR = $${PREFIX}/lib${LIB_SUFFIX}
- }
-
- - DEFINES += PLUGINS_DIR=$${LIBDIR}/merkaartor/plugins
- + DEFINES += PLUGINS_DIR=${TRUEPREFIX}/lib/merkaartor/plugins
-
- target.path = $${PREFIX}/bin
- SHARE_DIR = $${PREFIX}/share/merkaartor
- @@ -239,7 +239,7 @@ BINTRANSLATIONS += \
-
- translations.path = $${TRANSDIR_MERKAARTOR}
- translations.files = $${BINTRANSLATIONS}
- -DEFINES += TRANSDIR_MERKAARTOR=$$translations.path
- +DEFINES += TRANSDIR_MERKAARTOR=${TRUEPREFIX}/share/merkaartor/translations
- INSTALLS += translations
-
- count(TRANSDIR_SYSTEM, 1) {
|