$OpenBSD: patch-awesomeConfig_cmake,v 1.4 2011/01/17 13:23:06 dcoppa Exp $ --- awesomeConfig.cmake.orig Mon Jan 17 12:38:13 2011 +++ awesomeConfig.cmake Mon Jan 17 13:07:59 2011 @@ -16,11 +16,11 @@ option(COMPRESS_MANPAGES "compress manpages" ON) option(GENERATE_LUADOC "generate luadoc" ON) # {{{ CFLAGS -add_definitions(-std=gnu99 -ggdb3 -fno-strict-aliasing -Wall -Wextra - -Wchar-subscripts -Wundef -Wshadow -Wcast-align -Wwrite-strings - -Wsign-compare -Wunused -Wno-unused-parameter -Wuninitialized -Winit-self - -Wpointer-arith -Wredundant-decls -Wformat-nonliteral - -Wno-format-zero-length -Wmissing-format-attribute -Wmissing-prototypes +add_definitions(-std=gnu99 -fgnu89-inline -fno-strict-aliasing + -Wchar-subscripts -Wcast-align -Wwrite-strings + -Wsign-compare -Wunused -Wno-unused-parameter -Wuninitialized + -Wpointer-arith -Wformat-nonliteral -Wno-format-zero-length + -Wmissing-format-attribute -Wmissing-prototypes -Wstrict-prototypes) # }}} @@ -240,7 +240,7 @@ endif() if(DEFINED SYSCONFDIR) set(SYSCONFDIR ${SYSCONFDIR} CACHE PATH "config directory") else() - set(SYSCONFDIR ${PREFIX}/etc CACHE PATH "config directory") + set(SYSCONFDIR /etc CACHE PATH "config directory") endif() #If an XDG Config Dir is specificed, use it instead @@ -269,7 +269,7 @@ endif() if(DEFINED AWESOME_MAN_PATH) set(AWESOME_MAN_PATH ${AWESOME_MAN_PATH} CACHE PATH "awesome manpage directory") else() - set(AWESOME_MAN_PATH ${PREFIX}/share/man CACHE PATH "awesome manpage directory") + set(AWESOME_MAN_PATH ${PREFIX}/man CACHE PATH "awesome manpage directory") endif() # Hide to avoid confusion