On Thu, 02 Jun 2011, Matthias Kilian wrote:

> $ task list taskwarrior
> 
> ID Project Pri Due Active Age   Description
> -- ------- --- --- ------ ----- 
> ------------------------------------------------
> 11 ports                  2 hrs Import or give rfreeman an ok to import
>                                 productivity/taskwarrior.
>                                 6/2/2011 Nits: NEWS, INSTALL etc. should be
>                                 @commented.
>                                 6/2/2011 Nits: If possible (i.e. if cmake 
> allows
>                                 it), don't build with -g by default.

Just delete the last three lines of src/CMakeLists.txt, it's crap.

cheers!
David

$ cat patches/patch-src_CMakeLists_txt                                          
                                                                                
                
$OpenBSD$
--- src/CMakeLists.txt.orig     Thu Jun  2 23:04:10 2011
+++ src/CMakeLists.txt  Thu Jun  2 23:04:32 2011
@@ -25,7 +25,3 @@ target_link_libraries (task_executable task ${TASK_LIB
 set_property (TARGET task_executable PROPERTY OUTPUT_NAME "task")
 
 install (TARGETS task_executable DESTINATION ${TASK_BINDIR})
-
-set (CMAKE_BUILD_TYPE debug)
-set (CMAKE_C_FLAGS_DEBUG "-ggdb3")
-set (CMAKE_C_FLAGS_RELEASE "-O3")

Reply via email to