22 lines
992 B
Plaintext
22 lines
992 B
Plaintext
$OpenBSD: patch-data_CMakeLists_txt,v 1.1 2012/09/14 09:50:18 sthen Exp $
|
|
--- data/CMakeLists.txt.orig Tue Aug 21 10:19:21 2012
|
|
+++ data/CMakeLists.txt Tue Aug 21 10:19:28 2012
|
|
@@ -51,7 +51,7 @@ install(FILES gdb_commands DESTINATION ${SHARE_INSTALL
|
|
COMMAND
|
|
grep '<key>' ${CMAKE_CURRENT_SOURCE_DIR}/darktable.schemas |
|
|
sed -e 's/<key>//g' -e 's/<\\/key>//g' -e 's/\\/schemas\\/apps\\/darktable\\///g' |
|
|
- nl -s: |
|
|
+ gnl -s: |
|
|
sed -e 's/^[ \\t]*//\;s/[ \\t]*$$//' > ${CMAKE_CURRENT_BINARY_DIR}/darktablerc_keys
|
|
)
|
|
|
|
@@ -60,7 +60,7 @@ install(FILES gdb_commands DESTINATION ${SHARE_INSTALL
|
|
COMMAND
|
|
grep '<default>' ${CMAKE_CURRENT_SOURCE_DIR}/darktable.schemas |
|
|
sed -e 's/<default>//g' -e 's/<\\/default>//g' |
|
|
- nl -s: |
|
|
+ gnl -s: |
|
|
sed -e 's/^[ \\t]*//\;s/[ \\t]*$$//' > ${CMAKE_CURRENT_BINARY_DIR}/darktablerc_values
|
|
|
|
DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/darktablerc_keys
|