pkgsrc/print/scribus-qt4/patches/patch-ai
drochner 20b5456052 first cut on scribus-qt-1.3.9, the current "scribus" release with
the UI ported to qt4
(documents from pkgsrc/scribus can be imported, but not the other way)
2010-12-13 11:49:42 +00:00

35 lines
1.1 KiB
Text

$NetBSD: patch-ai,v 1.1.1.1 2010/12/13 11:49:44 drochner Exp $
--- CMakeLists.txt.orig 2010-11-26 22:06:01.000000000 +0000
+++ CMakeLists.txt
@@ -250,7 +250,7 @@ ENDIF (APPLEBUNDLE)
#Setp all the directories we will use
#MAN
CMAKE_POLICY(SET CMP0005 OLD)
-SET(MANDIR "share/man/")
+SET(MANDIR "man/")
SET(SHAREDIR "share/${MAIN_DIR_NAME}${TAG_VERSION}/")
ADD_DEFINITIONS("-DSHAREDIR=\\\"${CMAKE_INSTALL_PREFIX}/${SHAREDIR}\\\"")
@@ -307,12 +307,6 @@ ENDIF (APPLICATION_DATA_DIR)
#LIB LOCATION - lib or lib64 normally
#LIB
-IF(WANT_LIB64)
- IF(NOT ARCH_X86_64)
- MESSAGE(STATUS "WARNING: BUILDING 64 Bit build on non 64 bit architecture")
- ENDIF(NOT ARCH_X86_64)
- SET(LIB_SUFFIX "64" CACHE TYPE STRING)
-ENDIF(WANT_LIB64)
SET(LIB_DIR_NAME "lib${LIB_SUFFIX}")
SET(LIBDIR "${LIB_DIR_NAME}/${MAIN_DIR_NAME}${TAG_VERSION}/")
ADD_DEFINITIONS("-DLIBDIR=\\\"${CMAKE_INSTALL_PREFIX}/${LIBDIR}\\\"")
@@ -787,7 +781,7 @@ INSTALL(FILES
#KDE workaround until it starts supporting freedesktop spec
INSTALL(FILES
vnd.scribus.desktop
- DESTINATION ${MIMELNKDIR}
+ DESTINATION ${DESKTOPDIR}
)
## PL We may not need this anymore