[PATCH] devel/gobject-introspection: configure fails when gcc46 is installed
Hiroto Kagotani
hiroto.kagotani at gmail.com
Wed Feb 27 06:55:46 UTC 2013
>Submitter-Id: current-users
>Originator: Hiroto Kagotani
>Organization:
>Confidential: no
>Synopsis: [PATCH] devel/gobject-introspection: configure fails when gcc46 is installed
>Severity: non-critical
>Priority: low
>Category: ports
>Class: change-request
>Release: FreeBSD 9.0-RELEASE-p3 amd64
>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 ---
More information about the freebsd-gnome
mailing list