witty (3.1.2-3) 01_no_debug_postfix.dpatch

Summary

 src/CMakeLists.txt                |    1 -
 src/Wt/Dbo/CMakeLists.txt         |    1 -
 src/Wt/Dbo/backend/CMakeLists.txt |    2 --
 src/Wt/Ext/CMakeLists.txt         |    1 -
 src/fcgi/CMakeLists.txt           |    1 -
 src/http/CMakeLists.txt           |    1 -
 6 files changed, 7 deletions(-)

    
download this patch

Patch contents

#! /bin/sh /usr/share/dpatch/dpatch-run
## 01_no_debug_postfix.dpatch by  <pgquiles@elpauer.org>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Do not add a debug postfix, as we get the debug libraries by applying 
## DP: dh_strip. As we want to generate a -dbg package, we need to build Witty 
## DP: with CMAKE_BUILD_TYPE=Debug. The CMakeLists.txt files are telling CMake 
## DP: to append a 'd' (a-la Visual C++) to the debug libraries but we don't 
## DP: need (or want, either) to have that suffix. Sadly, 
## DP: -DVARIABLE:TYPE=VALUE won't overrides SET_TARGET_PROPERTIES, therefore 
## DP: making necessary to patch the CMakeLists.txt project files.

@DPATCH@

diff -rupd witty-3.1.2.orig/src/CMakeLists.txt witty-3.1.2/src/CMakeLists.txt
--- witty-3.1.2.orig/src/CMakeLists.txt	2010-03-27 01:01:37.417955345 +0100
+++ witty-3.1.2/src/CMakeLists.txt	2010-03-27 01:01:55.173001119 +0100
@@ -293,7 +293,6 @@ PROPERTIES
   POST_INSTALL_SCRIPT ${WT_BINARY_DIR}/WtInstall.cmake
   VERSION ${VERSION_SERIES}.${VERSION_MAJOR}.${VERSION_MINOR}
   SOVERSION ${WT_SOVERSION}
-  DEBUG_POSTFIX "d"
 )
 
 IF(WIN32)
diff -rupd witty-3.1.2.orig/src/fcgi/CMakeLists.txt witty-3.1.2/src/fcgi/CMakeLists.txt
--- witty-3.1.2.orig/src/fcgi/CMakeLists.txt	2010-03-27 01:01:37.425955425 +0100
+++ witty-3.1.2/src/fcgi/CMakeLists.txt	2010-03-27 01:01:55.173001119 +0100
@@ -22,7 +22,6 @@ IF(CONNECTOR_FCGI)
   PROPERTIES
     VERSION ${VERSION_SERIES}.${VERSION_MAJOR}.${VERSION_MINOR}
     SOVERSION ${WTFCGI_SOVERSION}
-    DEBUG_POSTFIX "d"
   )
 
   INSTALL(TARGETS wtfcgi
diff -rupd witty-3.1.2.orig/src/http/CMakeLists.txt witty-3.1.2/src/http/CMakeLists.txt
--- witty-3.1.2.orig/src/http/CMakeLists.txt	2010-03-27 01:01:37.425955425 +0100
+++ witty-3.1.2/src/http/CMakeLists.txt	2010-03-27 01:01:55.173001119 +0100
@@ -77,7 +77,6 @@ IF(CONNECTOR_HTTP)
   PROPERTIES
     VERSION ${VERSION_SERIES}.${VERSION_MAJOR}.${VERSION_MINOR}
     SOVERSION ${WTHTTP_SOVERSION}
-    DEBUG_POSTFIX "d"
   )
 
   IF(WIN32)
diff -rupd witty-3.1.2.orig/src/Wt/Dbo/backend/CMakeLists.txt witty-3.1.2/src/Wt/Dbo/backend/CMakeLists.txt
--- witty-3.1.2.orig/src/Wt/Dbo/backend/CMakeLists.txt	2010-03-27 01:01:37.441956146 +0100
+++ witty-3.1.2/src/Wt/Dbo/backend/CMakeLists.txt	2010-03-27 01:02:29.796956970 +0100
@@ -29,7 +29,6 @@ SET_TARGET_PROPERTIES(
 PROPERTIES
   VERSION ${VERSION_SERIES}.${VERSION_MAJOR}.${VERSION_MINOR}
   SOVERSION ${WTDBO_SOVERSION}
-  DEBUG_POSTFIX "d"
 )
 
 INSTALL_FILES(/include/Wt/Dbo/backend "^Sqlite3$")
@@ -53,7 +52,6 @@ IF(POSTGRES_FOUND)
   PROPERTIES
     VERSION ${VERSION_SERIES}.${VERSION_MAJOR}.${VERSION_MINOR}
     SOVERSION ${WTDBO_SOVERSION}
-    DEBUG_POSTFIX "d"
   )
 
   INSTALL_FILES(/include/Wt/Dbo/backend "^Postgres$")
diff -rupd witty-3.1.2.orig/src/Wt/Dbo/CMakeLists.txt witty-3.1.2/src/Wt/Dbo/CMakeLists.txt
--- witty-3.1.2.orig/src/Wt/Dbo/CMakeLists.txt	2010-03-27 01:01:37.433955386 +0100
+++ witty-3.1.2/src/Wt/Dbo/CMakeLists.txt	2010-03-27 01:01:55.176976597 +0100
@@ -21,7 +21,6 @@ SET_TARGET_PROPERTIES(
 PROPERTIES
   VERSION ${VERSION_SERIES}.${VERSION_MAJOR}.${VERSION_MINOR}
   SOVERSION ${WTDBO_SOVERSION}
-  DEBUG_POSTFIX "d"
 )
 
 SUBDIRS(backend)
diff -rupd witty-3.1.2.orig/src/Wt/Ext/CMakeLists.txt witty-3.1.2/src/Wt/Ext/CMakeLists.txt
--- witty-3.1.2.orig/src/Wt/Ext/CMakeLists.txt	2010-03-27 01:01:37.445955627 +0100
+++ witty-3.1.2/src/Wt/Ext/CMakeLists.txt	2010-03-27 01:01:55.176976597 +0100
@@ -52,7 +52,6 @@ SET_TARGET_PROPERTIES(
 PROPERTIES
   VERSION ${VERSION_SERIES}.${VERSION_MAJOR}.${VERSION_MINOR}
   SOVERSION ${WTEXT_SOVERSION}
-  DEBUG_POSTFIX "d"
 )
 
 INSTALL_FILES(/include/Wt/Ext "...+[^Ch~]$")