> > - 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
No comments:
Post a Comment