32 lines
1.1 KiB
Plaintext
32 lines
1.1 KiB
Plaintext
$OpenBSD: patch-src_src_pro,v 1.3 2010/06/13 10:57:35 landry Exp $
|
|
Properly set translations/plugins paths
|
|
--- src/src.pro.orig Sun Jun 6 16:41:25 2010
|
|
+++ src/src.pro Sat Jun 12 16:50:12 2010
|
|
@@ -150,7 +150,7 @@ unix {
|
|
isEmpty( LIBDIR ) {
|
|
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
|
|
|
|
@@ -179,7 +179,7 @@ win32-msvc* {
|
|
|
|
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) {
|
|
@@ -224,7 +224,7 @@ world_shp.files = $$PWD/../share/world_background.osb
|
|
macx {
|
|
DEFINES += WORLD_SHP=world_background.osb
|
|
} else {
|
|
- DEFINES += WORLD_SHP=$$world_shp.path/world_background.osb
|
|
+ DEFINES += WORLD_SHP=${TRUEPREFIX}/share/merkaartor/world_background.osb
|
|
}
|
|
INSTALLS += world_shp
|
|
|