52 lines
1.9 KiB
Plaintext
52 lines
1.9 KiB
Plaintext
$OpenBSD: patch-awesomeConfig_cmake,v 1.5 2011/11/30 11:50:58 dcoppa Exp $
|
|
--- awesomeConfig.cmake.orig Wed Nov 23 15:08:50 2011
|
|
+++ awesomeConfig.cmake Wed Nov 30 10:43:32 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)
|
|
# }}}
|
|
|
|
@@ -139,9 +139,10 @@ pkg_check_modules(AWESOME_REQUIRED REQUIRED
|
|
xcb-xtest
|
|
xcb-xinerama
|
|
xcb-shape
|
|
- xcb-util>=0.3.8
|
|
+ xcb-aux>=0.3.6
|
|
+ xcb-atom>=0.3.6
|
|
xcb-keysyms>=0.3.4
|
|
- xcb-icccm>=0.3.8
|
|
+ xcb-icccm>=0.3.6
|
|
xcb-image>=0.3.0
|
|
cairo-xcb
|
|
libstartup-notification-1.0>=0.10
|
|
@@ -239,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
|
|
@@ -268,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
|