From owner-freebsd-questions@freebsd.org Fri Jun 19 15:04:42 2020 Return-Path: Delivered-To: freebsd-questions@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 A341E34F1D5 for ; Fri, 19 Jun 2020 15:04:42 +0000 (UTC) (envelope-from mailinglist@diamondbox.dk) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 49pMXp13bQz4G4h for ; Fri, 19 Jun 2020 15:04:42 +0000 (UTC) (envelope-from mailinglist@diamondbox.dk) Received: by mailman.nyi.freebsd.org (Postfix) id 2246034F1D3; Fri, 19 Jun 2020 15:04:42 +0000 (UTC) Delivered-To: questions@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 21F2934EEE4 for ; Fri, 19 Jun 2020 15:04:42 +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 49pMXn1CN1z4GFd for ; Fri, 19 Jun 2020 15:04:40 +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=mK+U+iPEPrkYcJy3xcq9NI0XRdeuRoFIEalXnmvGbYs=; b=dD25Ppypj/uE6GvFl9oKC7K8fxurfsck9XTRamLWTtp/B+I+LVMezCMNGoXwqZM8W4IqRWfnP4lMQ 09tuQ6NHDRgWsi4KiItoppx4LoxEYTV/9OLvuIc4xlN1mf/GHW4krKqL6+kMs0sP+QYoxHDa1gZcbn 3tnIMM18qbPtA4I+GwGo426teCTsPV/XewNJ2UYka+tC+Oo6NvU+O1+Tgi3HFU9oUdcX10KkIymDAS HLaIlos/6P6wx+dDjWb3aqx5c4pe61KSrzKZGhLyzwHOD4aUISYEm0ans6UYKnEbY8AtGcsY1shedD y9YOQXlghVZ1nSCXHBzKXfbL6w/jpqQ== X-HalOne-Cookie: 07f7d2846a38ddad668dd9f48b35b6c34d12d682 X-HalOne-ID: 31084fae-b23e-11ea-b2e8-d0431ea8a283 Received: from diamond.diamondbox.dk (c-xd520f268.cust.hiper.dk [213.32.242.104]) by mailrelay1.pub.mailoutpod1-cph3.one.com (Halon) with ESMTPA id 31084fae-b23e-11ea-b2e8-d0431ea8a283; Fri, 19 Jun 2020 15:04:37 +0000 (UTC) Date: Fri, 19 Jun 2020 17:04:35 +0200 From: Nikolaj Thygesen To: questions@freebsd.org Subject: My first port Message-ID: <20200619170435.7144aa76@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: 49pMXn1CN1z4GFd X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=diamondbox.dk header.s=20191106 header.b=dD25Ppyp; 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 [-1.80 / 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.50)[-0.497]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-0.84)[-0.843]; 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.16)[-0.165]; 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-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Jun 2020 15:04:42 -0000 Hi list, 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 ends up in PREFIX/share/pkgconfig instead of PREFIX/libdata/pkgconfig, but I can't find the right 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