ports/159990: devel/cmake: CMAKE_C_FLAGS_DEBUG and CMAKE_C_FLAGS_RELEASE are broken by patch

Igor Soumenkov igor at soumenkov.com
Mon Aug 22 09:30:14 UTC 2011


>Number:         159990
>Category:       ports
>Synopsis:       devel/cmake: CMAKE_C_FLAGS_DEBUG and CMAKE_C_FLAGS_RELEASE are broken by patch
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Aug 22 09:30:13 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Igor Soumenkov
>Release:        8.2-STABLE
>Organization:
>Environment:
FreeBSD igosha2 8.2-STABLE FreeBSD 8.2-STABLE #8: Thu Jul 14 19:23:14 MSD 2011     root at igosha2:/usr/obj/usr/src/sys/IGOSHA-WORK-8  amd64
>Description:
The port's patch patch-Modules_Compiler_U.cmake removes default debug and release flags, making cmake almost unusable for regular software development, because you have to specify these flags again by hand every time you run cmake in a clean build-dir. That's very unconvenient.

It makes no sense for me to clear these flags. And, after all, why did someone decide to do this? That's a software development tool. We developers need these flags.
>How-To-Repeat:
Install devel/cmake, try to configure any c/c++ project, and enjoy clean cflags for both release and debug.
>Fix:
Remove patch-Modules_Compiler_U.cmake from the port.

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list