diff options
author | Miroslav Šulc <fordfrog@gentoo.org> | 2019-06-23 18:43:20 +0200 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2019-06-23 18:44:41 +0200 |
commit | b8163a1828bcf65ede1b6e55f99d926147575f2f (patch) | |
tree | cc9b97de6c44e6429a2c12eee10f8f3cc43b5963 /app-office/scribus/files | |
parent | sys-devel/binutils-hppa64: stable 2.31.1-r6 for hppa, bug #685416 (diff) | |
download | gentoo-b8163a1828bcf65ede1b6e55f99d926147575f2f.tar.gz gentoo-b8163a1828bcf65ede1b6e55f99d926147575f2f.tar.bz2 gentoo-b8163a1828bcf65ede1b6e55f99d926147575f2f.zip |
app-office/scribus-9999: updated docdir patch
Package-Manager: Portage-2.3.67, Repoman-2.3.15
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'app-office/scribus/files')
-rw-r--r-- | app-office/scribus/files/scribus-1.5.5-docdir.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/app-office/scribus/files/scribus-1.5.5-docdir.patch b/app-office/scribus/files/scribus-1.5.5-docdir.patch new file mode 100644 index 000000000000..897a8a75ae95 --- /dev/null +++ b/app-office/scribus/files/scribus-1.5.5-docdir.patch @@ -0,0 +1,29 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index f5b3e77..4c5fd3f 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -313,14 +313,16 @@ else() + endif() + + #SHARE - use the default on Apple as TAG_VERSION is empty +-if(WIN32 OR OS2) +- set(DOCDIR "${CMAKE_INSTALL_DATAROOTDIR}/doc/") +-elseif(TAG_VERSION OR BUILD_OSX_BUNDLE) +- set(DOCDIR "${CMAKE_INSTALL_DATAROOTDIR}/doc/${MAIN_DIR_NAME}${TAG_VERSION}/") +-elseif(NOT WANT_VERSIONING) +- set(DOCDIR "${CMAKE_INSTALL_DATAROOTDIR}/doc/${MAIN_DIR_NAME}/") +-else() +- set(DOCDIR "${CMAKE_INSTALL_DATAROOTDIR}/doc/${MAIN_DIR_NAME}-${VERSION}/") ++if(NOT DOCDIR) ++ if(WIN32 OR OS2) ++ set(DOCDIR "${CMAKE_INSTALL_DATAROOTDIR}/doc/") ++ elseif(TAG_VERSION OR BUILD_OSX_BUNDLE) ++ set(DOCDIR "${CMAKE_INSTALL_DATAROOTDIR}/doc/${MAIN_DIR_NAME}${TAG_VERSION}/") ++ elseif(NOT WANT_VERSIONING) ++ set(DOCDIR "${CMAKE_INSTALL_DATAROOTDIR}/doc/${MAIN_DIR_NAME}/") ++ else() ++ set(DOCDIR "${CMAKE_INSTALL_DATAROOTDIR}/doc/${MAIN_DIR_NAME}-${VERSION}/") ++ endif() + endif() + + if(IS_ABSOLUTE ${DOCDIR} AND WANT_RELOCATABLE) |