openbsd-ports/print/scribus/patches/patch-CMakeLists_txt
landry cba6867b0c Major update to scribus 1.4.1, switches from qt3 to qt4.
Based on a diff from Jiri B on ports@.
2012-05-28 12:32:04 +00:00

22 lines
749 B
Plaintext

$OpenBSD: patch-CMakeLists_txt,v 1.1 2012/05/28 12:32:04 landry Exp $
--- CMakeLists.txt.orig Sun May 6 22:39:38 2012
+++ CMakeLists.txt Sun May 6 22:40:11 2012
@@ -251,7 +251,7 @@ ENDIF (APPLEBUNDLE)
#Setp all the directories we will use
#MAN
CMAKE_POLICY(SET CMP0005 OLD)
-SET(MANDIR "share/man/")
+SET(MANDIR "man/")
IF(WANT_VERSIONING)
SET(SHAREDIR "share/${MAIN_DIR_NAME}${TAG_VERSION}/")
ELSE(WANT_VERSIONING)
@@ -322,7 +322,7 @@ IF(WANT_LIB64)
ENDIF(NOT ARCH_X86_64)
SET(LIB_SUFFIX "64" CACHE TYPE STRING)
ENDIF(WANT_LIB64)
-SET(LIB_DIR_NAME "lib${LIB_SUFFIX}")
+SET(LIB_DIR_NAME "lib")
SET(LIBDIR "${LIB_DIR_NAME}/${MAIN_DIR_NAME}${TAG_VERSION}/")
ADD_DEFINITIONS("-DLIBDIR=\\\"${CMAKE_INSTALL_PREFIX}/${LIBDIR}\\\"")