My first port

Adam Weinberger adamw at adamw.org
Mon Jun 22 21:25:58 UTC 2020


On Mon, Jun 22, 2020 at 4:42 AM Nikolaj Thygesen
<mailinglist at diamondbox.dk> wrote:
>
> On Mon, 22 Jun 2020 06:04:22 +0600
> Muhammad Moinur Rahman <bofh at freebsd.org> wrote:
>
> > Hi,
> >
> > Try to find out the reference location "share/pkgconfig” in the CMake
> > file. Then you can use REIINPLACE_CMD to change that line or modify
> > accordingly.
> >
> > The purpose of @sample is not this. @sample is primarily used for
> > configuration files.
> >
> > Regards,
> > Moin
> >
>
> Hi,
>
>         Thanks for the replies; I did a REINPLACE and it works - just for the record, I first tried pathfix, but that seems not to work for cmake!?

Hrmmn, it should if you also have USES=cmake. That said, if the file
you're patching isn't CMakeLists.txt, you'd need to set
PATHFIX_CMAKELISTSTXT=YourFileNameHere.txt.

I'm glad you got it working though!

# Adam


-- 
Adam Weinberger
adamw at adamw.org
https://www.adamw.org


More information about the freebsd-ports mailing list