id summary reporter owner description type status priority milestone component version resolution keywords cc port 50547 port suggestion : clazy RJVB macports-tickets@… "This is a prototype port for `clazy`, a plugin and wrapper for clang that implements a static analyser with a number of predefined checks for typical coding errors. The provided checks are oriented to development using Qt (and KDE); some of them are actually able to correct the source code. I've run into an issue writing the Portfile (again, in fact). The code below creates a reinplace command in which `${lv}=3.8` (i.e. the last value of the loop variable) for all subports. Is that a bug in ""base"", or simply an inevitable shortcoming? {{{ foreach lv {3.6 3.7 3.8} { subport ${name}-${lv} { # snip post-patch { reinplace ""s|@LLVM_INSTALL_PREFIX@|${prefix}/libexec/llvm-${lv}/lib|g"" ${worksrcpath}/CMakeLists.txt } } } }}}" submission new Normal ports jeremyhu clazy