My first port
Muhammad Moinur Rahman
bofh at freebsd.org
Mon Jun 22 00:04:33 UTC 2020
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
> On 22 Jun, 2020, at 04:11, Nikolaj Thygesen <mailinglist at diamondbox.dk> wrote:
>
> Hi freebsd-ports,
>
> I'm trying to create my first port and things are taking shape, but I'm down to one little detail making me feel a bit dirty. The port is based on the latest release of swi-prolog, which has switched to cmake/ninja. My final issue is that the pkg-conf-.pc file gets installed in PREFIX/share/pkgconfig instead of PREFIX/libdata/pkgconfig, but I can't find the best way to maneuver it into the right directory.
> My current hack-ish solution has been to add to pkg-plist a line like:
>
> @sample share/pkgconfig/swipl.pc libdata/pkgconfig/swipl.pc
>
> ... which actually works, but it feels wrong. Is there a better more standard way to do this?
>
> br - Nikolaj
> _______________________________________________
> freebsd-ports at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Message signed with OpenPGP
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20200622/b00be796/attachment.sig>
More information about the freebsd-ports
mailing list