[Bug 274355] devel/wasmer: Update to 4.2.2

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 08 Oct 2023 17:52:28 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274355

Robert Clausecker <fuz@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|New                         |Open
           Assignee|ports-bugs@FreeBSD.org      |fuz@FreeBSD.org
                 CC|                            |fuz@FreeBSD.org

--- Comment #2 from Robert Clausecker <fuz@FreeBSD.org> ---
Thank you for your submission.

I see that your patch hardcodes /usr/local as a search path in a patch.  This
is incorrect.  The user can install the package into any prefix he/she likes. 
You must obey LOCALBASE here.

I recommend as follows: in the patch, use %%LOCALBASE%% for the directory. 
Then, add a pre-configure target like

    pre-configure:
            ${REINPLACE_CMD} -e s,%%LOCALBASE%%,${LOCALBASE},
${WRKSRC}/Makefile

to patch in the true LOCALBASE prefix.

Please check this issue and resubmit as appropriate.

-- 
You are receiving this mail because:
You are the assignee for the bug.