After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 782598 - JHBuild should add /usr/local/info to INFOPATH on FreeBSD
JHBuild should add /usr/local/info to INFOPATH on FreeBSD
Status: RESOLVED FIXED
Product: jhbuild
Classification: Infrastructure
Component: general
unspecified
Other FreeBSD
: Normal normal
: ---
Assigned To: Jhbuild maintainers
Jhbuild QA
Depends on:
Blocks:
 
 
Reported: 2017-05-13 16:02 UTC by Ting-Wei Lan
Modified: 2017-05-16 14:22 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
environment: Fix INFOPATH for *BSD ports and pkgsrc (1.31 KB, patch)
2017-05-13 16:03 UTC, Ting-Wei Lan
committed Details | Review

Description Ting-Wei Lan 2017-05-13 16:02:26 UTC
FreeBSD ports install Texinfo documentation in /usr/local/info instead of the default value /usr/local/share/info used by autotools and meson. All software included in FreeBSD ports are modified to use /usr/local/info, and /usr/local/share/info doesn't exist on the system. However, JHBuild always uses $prefix/share/info, so the non-existent path is added to INFOPATH.

OpenBSD ports and NetBSD pkgsrc also patch all software to use $prefix/info, so the same problem can happen on OpenBSD and NetBSD, too. I will attach a patch to fix this problem.
Comment 1 Ting-Wei Lan 2017-05-13 16:03:00 UTC
Created attachment 351783 [details] [review]
environment: Fix INFOPATH for *BSD ports and pkgsrc

Ports and pkgsrc are widely used on *BSD systems to install third-party
software, but these systems patch all software to install Texinfo pages
in $prefix/info instead of $prefix/share/info. In order to set correct
INFOPATH on prefixes managed by ports or pkgsrc, we check whether
$prefix/info exists and use it if $prefix/share/info cannot be found.
Comment 2 Ting-Wei Lan 2017-05-16 14:22:00 UTC
Attachment 351783 [details] pushed as 19a3a0f - environment: Fix INFOPATH for *BSD ports and pkgsrc