On 01.01.2020 16:14, Benny Siegert wrote:
> On Wed, Jan 1, 2020 at 3:57 PM nia <nia%netbsd.org@localhost> wrote:
>>
>> On Wed, Jan 01, 2020 at 03:34:51PM +0100, Benny Siegert wrote:
>>> I tried converting the build to CMake but it needs to be built out of
>>> tree (i.e. build dir != source dir), and I don't know how to do that
>>> in pkgsrc.
>>
>> Set:
>>
>> CONFIGURE_DIRS= build
>> CMAKE_ARG_PATH= ..
>>
>> in pre-configure:
>>
>> ${MKDIR} ${WRKSRC}/build
>
> Thanks! That should be in the guide :)
>
> I pushed a wip/herbstluftwm that uses cmake and is pkglint-clean. Any
> objections to putting it into pkgsrc itself?
>
Please use include(GNUInstallDirs) with ${CMAKE_INSTALL_MANDIR} and
upstream this.
Attachment:
signature.asc
Description: OpenPGP digital signature