From owner-freebsd-gnome@FreeBSD.ORG Wed Feb 27 06:55:46 2013 Return-Path: Delivered-To: gnome@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id AC7BBB7B; Wed, 27 Feb 2013 06:55:46 +0000 (UTC) (envelope-from kagotani@serv52.infsys.cne.okayama-u.ac.jp) Received: from serv52.infsys.cne.okayama-u.ac.jp (serv52.infsys.cne.okayama-u.ac.jp [150.46.6.52]) by mx1.freebsd.org (Postfix) with ESMTP id 3FD3BD75; Wed, 27 Feb 2013 06:55:45 +0000 (UTC) Received: from serv52.infsys.cne.okayama-u.ac.jp (localhost [127.0.0.1]) by serv52.infsys.cne.okayama-u.ac.jp (8.14.5/8.14.5) with ESMTP id r1R6of31019596; Wed, 27 Feb 2013 15:50:41 +0900 (JST) (envelope-from kagotani@serv52.infsys.cne.okayama-u.ac.jp) Received: (from root@localhost) by serv52.infsys.cne.okayama-u.ac.jp (8.14.5/8.14.5/Submit) id r1R6ofV5019595; Wed, 27 Feb 2013 15:50:41 +0900 (JST) (envelope-from kagotani) Date: Wed, 27 Feb 2013 15:50:41 +0900 (JST) Message-Id: <201302270650.r1R6ofV5019595@serv52.infsys.cne.okayama-u.ac.jp> To: FreeBSD-gnats-submit@freebsd.org Subject: [PATCH] devel/gobject-introspection: configure fails when gcc46 is installed From: Hiroto Kagotani X-send-pr-version: 3.113 X-GNATS-Notify: Cc: gnome@freebsd.org X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Feb 2013 06:55:46 -0000 >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@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@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 ---