Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Jun 2020 00:11:45 +0200
From:      Nikolaj Thygesen <mailinglist@diamondbox.dk>
To:        freebsd-ports@freebsd.org
Subject:   My first port
Message-ID:  <20200622001145.5c4afcf5@diamond.diamondbox.dk>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200622001145.5c4afcf5>