On 30.07.2017 23:54, Frédéric Fauberteau wrote: > Hi, > > I am working on the update of wm/awesome. Since version 4.2, in-source > builds are no longer supported. > > Therefore I tried a hack to add the ouf-of-source build feature to pkgsrc: > http://ftp.netbsd.org/pub/NetBSD/misc/triaxx/pkgsrc/mk/cmake-outsource.diff > > The idea is to build in ${WRKDIR}/.cmake_build. If several directories > are given in ${CONFIGURE_DIRS}, a build directory is made for each one > (e.g. CONFIGURE_DIRS="${WRKSRC} tests/examples", ${WRKDIR}/.cmake_build > and ${WRKDIR}/.cmake_build_tests_examples are made) > > It works to build my WiP awesome and I tested net/owncloudclient > (traditional in-source build) that builds fine too. > > Any review, remark or advice will be welcomed. > Please check whether packages like llvm, clang, lldb are compatible with your approach. They right now workaround it manually.
Attachment:
signature.asc
Description: OpenPGP digital signature