From owner-freebsd-ports@freebsd.org Sun Jun 21 22:11:51 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 EA7E6336A68 for ; Sun, 21 Jun 2020 22:11:51 +0000 (UTC) (envelope-from mailinglist@diamondbox.dk) Received: from mailrelay1-2.pub.mailoutpod1-cph3.one.com (mailrelay1-2.pub.mailoutpod1-cph3.one.com [46.30.212.0]) (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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 49qmwk56Rtz3VWy for ; Sun, 21 Jun 2020 22:11:50 +0000 (UTC) (envelope-from mailinglist@diamondbox.dk) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=diamondbox.dk; s=20191106; h=content-transfer-encoding:content-type:mime-version:message-id:subject:to: from:date:from; bh=KX4a4a5vrOHHX2cHdVZwsPWDsx2uCEq5/pMrnZ66wb4=; b=KDVP4jyGfwlyav5YN3xq1gql3ms2TeWDgtqi0TEYNPA1P+9R/3Jd4W3j4T+Jy2QIstpR6Q3EeBjas 1OUt5W0N1kVCt51ouzc7/bsGA2skJ7tOFJF18gwoI9o/X8B+6LWd5LY2bb6OvxhUsHwzj8YctnlWM8 O9rxLocpMUWPHNIFelTtaswBHKmdSXMNu2NchNwvbfIVcGJsIa/Ubv3+9/gRQQPtDxZ7unsGehP56B U85djOkkmAdoKc8cYfRHLx/u3paWCuJ+2J+Hmqiu4KrMVWAOkKly67DhcHyzAn8OEO2hnncA7muJTN GQ3D4Xx8LmIM8RhPea6IoG+kJgSQVBA== X-HalOne-Cookie: 12c157c34ec1ecf1cd0bd165a0d4d3f72864a72a X-HalOne-ID: 326784bb-b40c-11ea-b2e8-d0431ea8a283 Received: from diamond.diamondbox.dk (c-xd520f26b.cust.hiper.dk [213.32.242.107]) by mailrelay1.pub.mailoutpod1-cph3.one.com (Halon) with ESMTPA id 326784bb-b40c-11ea-b2e8-d0431ea8a283; Sun, 21 Jun 2020 22:11:46 +0000 (UTC) Date: Mon, 22 Jun 2020 00:11:45 +0200 From: Nikolaj Thygesen To: freebsd-ports@freebsd.org Subject: My first port Message-ID: <20200622001145.5c4afcf5@diamond.diamondbox.dk> X-Mailer: Claws Mail 3.17.5 (GTK+ 2.24.32; amd64-portbld-freebsd12.1) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 49qmwk56Rtz3VWy X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=diamondbox.dk header.s=20191106 header.b=KDVP4jyG; dmarc=none; spf=none (mx1.freebsd.org: domain of mailinglist@diamondbox.dk has no SPF policy when checking 46.30.212.0) smtp.mailfrom=mailinglist@diamondbox.dk X-Spamd-Result: default: False [-2.18 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[diamondbox.dk:s=20191106]; NEURAL_HAM_MEDIUM(-0.73)[-0.732]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-0.65)[-0.649]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[diamondbox.dk]; RCPT_COUNT_ONE(0.00)[1]; DKIM_TRACE(0.00)[diamondbox.dk:+]; NEURAL_HAM_SHORT(-0.50)[-0.496]; RCVD_IN_DNSWL_NONE(0.00)[46.30.212.0:from]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:51468, ipnet:46.30.208.0/21, country:DK]; RCVD_COUNT_TWO(0.00)[2]; RWL_MAILSPIKE_VERYGOOD(0.00)[46.30.212.0:from] 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: Sun, 21 Jun 2020 22:11:52 -0000 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