Summary: | devel/cmake: Debug builds do not work as expected | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Mark Kane <mark> | ||||
Component: | Individual Port(s) | Assignee: | freebsd-kde (group) <kde> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | ||||||
Priority: | Normal | ||||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
Mark Kane
2011-07-28 23:10:08 UTC
Responsible Changed From-To: freebsd-ports-bugs->kde Over to maintainer (via the GNATS Auto Assign Tool) I suggest removing ports/devel/cmake/files/patch-Modules_Compiler_GNU.cmake and patching ports/Mk/bsd.cmake.mk instead. This will solve the issue and keep correct C(XX)FLAGS for ports for both Debug and Release configurations. max, what do you think of the proposed patch? i'm going to test it on area51 can you remember what exactly made us commit the current patch? -- Alberto Villa, FreeBSD committer <avilla@FreeBSD.org> http://people.FreeBSD.org/~avilla Chess tonight. State Changed From-To: open->analyzed Currently under investigation/testing. State Changed From-To: analyzed->patched Committed to area51. The patch seems to work fine, there is no reference to -O3 (default release flags) in test buidls. We'll consider committing it to ports after extensive testing. On Tue, 30 Aug 2011 01:17:26 +0200, Alberto Villa wrote: > max, what do you think of the proposed patch? i'm going to test it on > area51 If it works, i.e. cmake does respect system CFLAGS, then I'm fine with it. > can you remember what exactly made us commit the current patch? Apparently something didn't satisfy us that time. Max rakuco 2011-09-11 02:04:09 UTC FreeBSD ports repository Modified files: Mk bsd.cmake.mk devel/cmake Makefile Removed files: devel/cmake/files patch-Modules_Compiler_GNU.cmake Log: - Remove the patch that was clearing default build flags for build profiles, so that CMake can be used outside of ports. - Bump CMake PORTREVISION. - Pass default build flags (at least I hope) via bsd.cmake.mk. PR: 159276 Submitted by: Igor Soumenkov <2igosha@gmail.com> Approved by: avilla (mentor) Revision Changes Path 1.10 +5 -1 ports/Mk/bsd.cmake.mk 1.48 +1 -1 ports/devel/cmake/Makefile 1.2 +0 -14 ports/devel/cmake/files/patch-Modules_Compiler_GNU.cmake (dead) _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org" State Changed From-To: patched->closed Committed, with minor changes. Thanks! |