Index | Thread | Search

From:
Stuart Henderson <stu@spacehopper.org>
Subject:
Re: [NEW]: security/nitrocli
To:
Rubén Llorente <porting@use.startmail.com>
Cc:
ports@openbsd.org
Date:
Fri, 1 Nov 2024 13:28:15 +0000

Download raw body.

Thread
> > - what's up with this MY_REPLACE_CMD, MY_HEADER stuff? just put the
> > command in post-patch.
> 
> Feel free to propose a way to include the whole command without making the
> line extremely large.

there's not an absolutely strict 80 char limit in ports Makefiles,
going a little over is fine where you'd have to go through contortions
to avoid it. for example, there's no real problem with this:

post-patch:
	sed -i s/hid_init/hidapi_hid_init/g \
	    ${MODCARGO_VENDOR_DIR}/nitrokey-sys-*/libnitrokey-*/libnitrokey/hidapi/hidapi.h