ports/176467: [PATCH] devel/gobject-introspection: configure fails when gcc46 is installed

Hiroto Kagotani hiroto.kagotani at gmail.com
Wed Feb 27 07:00:01 UTC 2013


>Number:         176467
>Category:       ports
>Synopsis:       [PATCH] devel/gobject-introspection: configure fails when gcc46 is installed
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 27 07:00:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Hiroto Kagotani
>Release:        FreeBSD 9.0-RELEASE-p3 amd64
>Organization:
>Environment:
System: FreeBSD myhost.mydomain 9.0-RELEASE-p3 FreeBSD 9.0-RELEASE-p3 #0: Tue Jun 12 02:52:29 UTC 2012
>Description:
lang/gcc46 (and maybe other gcc's) installs its own libffi.so in
/usr/local/lib/gcc46.  Although this library is found by lib-depends
(or ldconfig -r) in bsd.ports.mk, but the configure script for
gobject-introspection searchs for it in /usr/local/lib and fails.

[DESCRIBE CHANGES]

Port maintainer (gnome at FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99_6 (mode: change, diff: suffix)
>How-To-Repeat:
Install lang/gcc46.
Make sure devel/libffi is NOT installed.
Do "make configure" in devel/gobject-introspection.

>Fix:
This fix is just a workaround.
When gcc46 (or 47) port installs newer libffi, the same problem will occur.

--- gobject-introspection-0.10.8_3.patch begins here ---
diff -ruN --exclude=CVS ../gobject-introspection.orig/Makefile ./Makefile
--- ../gobject-introspection.orig/Makefile	2013-01-29 09:50:15.000000000 +0900
+++ ./Makefile	2013-02-27 15:33:35.000000000 +0900
@@ -16,7 +16,7 @@
 MAINTAINER=	gnome at FreeBSD.org
 COMMENT=	Generate interface introspection data for GObject libraries
 
-LIB_DEPENDS=	ffi:${PORTSDIR}/devel/libffi
+LIB_DEPENDS=	ffi.6:${PORTSDIR}/devel/libffi
 
 USE_BZIP2=	yes
 GNU_CONFIGURE=	yes
--- gobject-introspection-0.10.8_3.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list