Date: Mon, 22 Jun 2020 06:04:22 +0600 From: Muhammad Moinur Rahman <bofh@freebsd.org> To: Nikolaj Thygesen <mailinglist@diamondbox.dk> Cc: freebsd-ports@freebsd.org Subject: Re: My first port Message-ID: <359B98A6-6609-4E3B-AAAA-C27605EDDE25@freebsd.org> In-Reply-To: <20200622001145.5c4afcf5@diamond.diamondbox.dk> References: <20200622001145.5c4afcf5@diamond.diamondbox.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
--Apple-Mail=_0A6FFF38-0AD2-4AB0-BD32-B0718385931C Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Hi, Try to find out the reference location "share/pkgconfig=E2=80=9D 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@diamondbox.dk> wrote: >=20 > Hi freebsd-ports, >=20 > 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: >=20 > @sample share/pkgconfig/swipl.pc = libdata/pkgconfig/swipl.pc >=20 > ... which actually works, but it feels wrong. Is there a better more = standard way to do this? >=20 > br - Nikolaj > _______________________________________________ > freebsd-ports@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to = "freebsd-ports-unsubscribe@freebsd.org" --Apple-Mail=_0A6FFF38-0AD2-4AB0-BD32-B0718385931C Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEETfdREoUGjQZKBS+fvbm1phfAvJEFAl7v9YYACgkQvbm1phfA vJF5dQ//Wx/iUPaCNSi2oNwnDByHj/Ytw09037JkyMME88cjxmVC2lJiadx3dlvh 00rLsBvNO3RSxVPgVHRLpctp6Pr9clhu7pzXDJJuaDtkim6daCjQQqupurTUk2Sy JC1Ttu+rTQk2mu89rDXeizobA1cNfrTq/n/0QJG2Momjj2lR6+Yf1uv2uqRMDIRp cELYiXlxiX3BMpgUddB7sd3alM6Mgf5PuW/+A46ihOJCqG+NZaSzHNMIsc6dm39T uNZ2mz67JSRkifoPOaix6iEQbakVcLU9/EkJyxEt1Qd5mDmczyy5H5cq37aWmH7Y i/ErsCNr7eRcvXRLtSfjlkMxZUb27l0klNpQpxKy4uodVwag1uBqnmngBApa/p5V DSZQf8iMDJsiL2BEKSLnn6RgaeB1Iz8DgulB42Z5ERJKWN8sgFr4CRW4sue6H4vH hm1jjjVuoH9xsPVHTMvPW49vAIIV878LY4+rEbt4FtqlRURQcwz8nnhps2kTzhAj DGU35myyDRBK4toeYFIDtk1MSKJITcm9jgUmhz+cmjxxeGKtkuFbZ+eGZCvJo/GK Ys6SpvywdQLfDLL5J4uvhO7OwmKd8+Oc+S1HfclIARtLZOu7KnfghpKrP236vUNK /llZSKZpr/LOazBW2AnWKvSYpnehLs2mnUExVjUmZ7CSqiKSDBU= =6aNV -----END PGP SIGNATURE----- --Apple-Mail=_0A6FFF38-0AD2-4AB0-BD32-B0718385931C--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?359B98A6-6609-4E3B-AAAA-C27605EDDE25>