Created attachment 156015 [details] .pc file Hi, pkg-config significantly simplifies use of libraries (especially for projects that use autotools) but requires appropriate .pc file describing the library. Please add the attached .pc file to the libublio port.
Comment on attachment 156015 [details] .pc file That file won't work. We need to substitute ${PREFIX} and other directories into the file properly. Please send a suitable ublio.pc.in file that gets the necessary variable substitutions from the ports build framework. In doubt, see the FreeBSD porter's handbook for help.
Created attachment 156163 [details] .pc.in file Thanks for the hint. Here is the .pc.in file.
Ping. Could you please review the attached file?
Sorry about the long delay, I'd missed the update and the ping in a mail flood. I have committed a .pc file change but it's called libublio for now to match the port name - what do users expect? Feel free to reopen the bug and name/list a few ports that require ublio (not libublio).
Created attachment 170586 [details] Proposed patch (since 415750 revision) Hello Matthias Andree. (In reply to comment #4) > I have committed a .pc file change but it's called libublio for now to match > the port name - what do users expect? Looks like, you didn't "svn add files/libublio.pc.in" in SVN repository (relative to devel/libublio directory). Other people commented about it (bug 199797 comment 5) in your (incorrectly) specified PR 199797. Attached patch with proposed changes, just for reference.
A commit references this bug: Author: mandree Date: Tue May 24 06:19:02 UTC 2016 New revision: 415764 URL: https://svnweb.freebsd.org/changeset/ports/415764 Log: Really add .pc file for devel/libublio. (I wish that poudriere or a make under DEVELOPER=yes would use svn export to actually check for missing files.) PR: 199717 Reported by: Barbara Guida, lightside Changes: head/devel/libublio/Makefile head/devel/libublio/files/libublio.pc.in
-- for reference, this original comment got misfiled through my typo, I am copying it here just to have a complete trail in the right PR, this was the earlier, incomplete, commit (see the Date:) -- A commit references this bug: Author: mandree Date: Mon May 23 22:42:04 UTC 2016 New revision: 415750 URL: https://svnweb.freebsd.org/changeset/ports/415750 Log: Add pkgconfig file. Add LICENSE clause. PR: 199797 Submitted by: resver@gmail.com Changes: head/devel/libublio/Makefile head/devel/libublio/pkg-plist