From owner-freebsd-ports@freebsd.org Mon Jun 22 00:04:33 2020 Return-Path: Delivered-To: freebsd-ports@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C8062339377 for ; Mon, 22 Jun 2020 00:04:33 +0000 (UTC) (envelope-from bofh@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49qqQn4rBPz3cx9; Mon, 22 Jun 2020 00:04:33 +0000 (UTC) (envelope-from bofh@freebsd.org) Received: from mx.bofh.network (mx.bofh.network [IPv6:2001:19f0:5001:2b77:5400:2ff:fe7b:aa2c]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx.bofh.network", Issuer "Let's Encrypt Authority X3" (verified OK)) (Authenticated sender: bofh/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 373142D36B; Mon, 22 Jun 2020 00:04:33 +0000 (UTC) (envelope-from bofh@freebsd.org) Received: from [192.168.30.38] ( [118.179.171.14]) by mx.bofh.network (OpenSMTPD) with ESMTPSA id ca79c420 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Mon, 22 Jun 2020 00:04:30 +0000 (UTC) From: Muhammad Moinur Rahman Message-Id: <359B98A6-6609-4E3B-AAAA-C27605EDDE25@freebsd.org> Content-Type: multipart/signed; boundary="Apple-Mail=_0A6FFF38-0AD2-4AB0-BD32-B0718385931C"; protocol="application/pgp-signature"; micalg=pgp-sha256 Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\)) Subject: Re: My first port Date: Mon, 22 Jun 2020 06:04:22 +0600 In-Reply-To: <20200622001145.5c4afcf5@diamond.diamondbox.dk> Cc: freebsd-ports@freebsd.org To: Nikolaj Thygesen References: <20200622001145.5c4afcf5@diamond.diamondbox.dk> X-Mailer: Apple Mail (2.3608.80.23.2.2) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Jun 2020 00:04:33 -0000 --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 = 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--