ports/190157: [ports/devel/glib20] Fix build error when installed ports/lang/gcc
Norikatsu Shigemura
nork at FreeBSD.org
Sat May 24 01:20:00 UTC 2014
>Number: 190157
>Category: ports
>Synopsis: [ports/devel/glib20] Fix build error when installed ports/lang/gcc
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sat May 24 01:20:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator: Norikatsu Shigemura
>Release: FreeBSD/amd64 11.0-CURRENT
>Organization:
Personal
>Environment:
FreeBSD pelsia.ninth-nine.com 11.0-CURRENT FreeBSD 11.0-CURRENT #11 r266591M: Sat May 24 07:35:50 JST 2014 nork at pelsia.ninth-nine.com:/usr/obj/usr/src/sys/PELSIA amd64
>Description:
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.
>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
>Fix:
Please apply following patch.
Patch attached with submission follows:
Index: ports/devel/glib20/Makefile
===================================================================
--- ports/devel/glib20/Makefile (revision 354968)
+++ ports/devel/glib20/Makefile (working copy)
@@ -20,7 +20,7 @@
.if !defined(REFERENCE_PORT)
LIB_DEPENDS+= libpcre.so:${PORTSDIR}/devel/pcre \
- libffi.so:${PORTSDIR}/devel/libffi
+ libffi.so.6:${PORTSDIR}/devel/libffi
USE_AUTOTOOLS= libtool
USE_LDCONFIG= yes
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list