pkgsrc/misc/kdeartwork4/patches/patch-aa
markd 06a12e283a Import KDE4.3.1 from wip
OKed during freeze by wiz and agc
2009-10-02 20:41:53 +00:00

21 lines
1,007 B
Text

$NetBSD: patch-aa,v 1.1.1.1 2009/10/02 20:47:46 markd Exp $
--- cmake/modules/FindXscreensaver.cmake.orig 2009-03-08 22:15:30.000000000 +1300
+++ cmake/modules/FindXscreensaver.cmake
@@ -24,6 +24,7 @@ if (NOT XSCREENSAVER_FOUND)
set(xscreensaver_alldirs ${xscreensaver_alldirs} ${xscreensaver_path}/${suffix})
endforeach(xscreensaver_path ${xscreensaver_checkdirs} )
endforeach(suffix lib${LIB_SUFFIX}/xscreensaver lib/xscreensaver lib64/xscreensaver libexec/xscreensaver bin/xscreensaver-hacks hacks)
+if (NOT XSCREENSAVER_DIR)
FIND_PATH(XSCREENSAVER_DIR deco ${xscreensaver_alldirs})
set(XSCREENSAVER_CONFIG_DIR)
@@ -48,7 +49,7 @@ if (NOT XSCREENSAVER_FOUND)
set(XSCREENSAVER_CONFIG_DIR "${XSCREENSAVER_CONFIG_DECO}/config/")
#MESSAGE(STATUS "XSCREENSAVER_CONFIG_DIR <${XSCREENSAVER_CONFIG_DIR}>")
endif(XSCREENSAVER_CONFIG_DECO)
-
+endif(NOT XSCREENSAVER_DIR)
# Try and locate XScreenSaver config when path doesn't include config
if(NOT XSCREENSAVER_CONFIG_DIR)