patch-src_src_pro 802 B

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