My first port

Nikolaj Thygesen mailinglist at
Fri Jun 19 15:04:42 UTC 2020

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

More information about the freebsd-questions mailing list