diff --git a/devel/qca/Portfile b/devel/qca/Portfile
index 3d85065fc69e11b4c4c9363b6b138805274735fd..d0fa73bbcaab950eb8e29c725be3a63db03ed4f9 100644
a
|
b
|
post-destroot { |
117 | 117 | |
118 | 118 | # It doesn't seem possible to do debug+release builds with the new cmake-based approach. |
119 | 119 | # Override the debug variant and avoid the checks imposed by the Qt portgroups and |
120 | | # instruct the user to use a compiler option. |
| 120 | # ensure that debug information will be generated. |
121 | 121 | variant debug description \ |
122 | | {Build both release and debug library} { |
123 | | ui_msg "this variant is obsolete; use configure.optflags=\"-g\"" |
124 | | PortGroup obsolete 1.0 |
| 122 | {Build with support for debugging} {} |
| 123 | if {[variant_isset debug]} { |
| 124 | configure.optflags-append -g |
| 125 | configure.cflags-append -g |
| 126 | configure.cxxflags-append -g |
125 | 127 | } |
126 | 128 | |
127 | 129 | # avoid installing the examples into Qt's binary tree |