Bug 190157 - devel/glib20: Fix build error when installed ports/lang/gcc
Summary: devel/glib20: Fix build error when installed ports/lang/gcc
Status: Closed Works As Intended
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-gnome (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-24 02:20 UTC by Norikatsu Shigemura
Modified: 2016-01-17 10:34 UTC (History)
1 user (show)

See Also:


Attachments
file.diff (423 bytes, patch)
2014-05-24 02:20 UTC, Norikatsu Shigemura
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Norikatsu Shigemura freebsd_committer freebsd_triage 2014-05-24 02:20:00 UTC
ports/lang/gcc installed libffi.so.
And if ports/lang/gcc install before ports/devel/libffi,
so ports/devel/glib20 found ports/lang/gcc's libffi
instead of ports/devel/libffi's one.

As the result, ports/devel/glib20 doesn't compile by not found libffi.so.

Fix: Please apply following patch.

Patch attached with submission follows:
How-To-Repeat: $ ldconfig -r | grep ffi
        275:-lffi.6 => /usr/local/lib/libffi.so.6
        712:-lffi.4 => /usr/local/lib/gcc47/libffi.so.4
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2014-05-24 02:20:05 UTC
Responsible Changed
From-To: freebsd-ports-bugs->gnome

Over to maintainer (via the GNATS Auto Assign Tool)