From owner-svn-ports-all@FreeBSD.ORG Mon Feb 10 20:22:21 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8B623D1F; Mon, 10 Feb 2014 20:22:21 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 76CC71554; Mon, 10 Feb 2014 20:22:21 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s1AKMLJJ099483; Mon, 10 Feb 2014 20:22:21 GMT (envelope-from swills@svn.freebsd.org) Received: (from swills@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s1AKMLxd099481; Mon, 10 Feb 2014 20:22:21 GMT (envelope-from swills@svn.freebsd.org) Message-Id: <201402102022.s1AKMLxd099481@svn.freebsd.org> From: Steve Wills Date: Mon, 10 Feb 2014 20:22:21 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r343678 - in head/lang: ruby19 ruby20 X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Feb 2014 20:22:21 -0000 Author: swills Date: Mon Feb 10 20:22:20 2014 New Revision: 343678 URL: http://svnweb.freebsd.org/changeset/ports/343678 QAT: https://qat.redports.org/buildarchive/r343678/ Log: - Fix build when newer gcc which includes a libffi is installed PR: ports/186468 Submitted by: Jim Ohlstein Modified: head/lang/ruby19/Makefile head/lang/ruby20/Makefile Modified: head/lang/ruby19/Makefile ============================================================================== --- head/lang/ruby19/Makefile Mon Feb 10 20:10:29 2014 (r343677) +++ head/lang/ruby19/Makefile Mon Feb 10 20:22:20 2014 (r343678) @@ -18,9 +18,12 @@ LICENSE= BSD2CLAUSE RUBY LICENSE_COMB= dual LIB_DEPENDS= libexecinfo.so:${PORTSDIR}/devel/libexecinfo \ - libffi.so:${PORTSDIR}/devel/libffi \ libyaml.so:${PORTSDIR}/textproc/libyaml +# Using LIB_DEPENDS finds the libffi from gcc which causes problems +BUILD_DEPENDS= libffi>=0:${PORTSDIR}/devel/libffi +RUN_DEPENDS= libffi>=0:${PORTSDIR}/devel/libffi + GNU_CONFIGURE= yes WRKSRC= ${RUBY_WRKSRC} CONFIGURE_ARGS= ${RUBY_CONFIGURE_ARGS} \ Modified: head/lang/ruby20/Makefile ============================================================================== --- head/lang/ruby20/Makefile Mon Feb 10 20:10:29 2014 (r343677) +++ head/lang/ruby20/Makefile Mon Feb 10 20:22:20 2014 (r343678) @@ -18,9 +18,12 @@ LICENSE= BSD2CLAUSE RUBY LICENSE_COMB= dual LIB_DEPENDS= libexecinfo.so:${PORTSDIR}/devel/libexecinfo \ - libffi.so:${PORTSDIR}/devel/libffi \ libyaml.so:${PORTSDIR}/textproc/libyaml +# Using LIB_DEPENDS finds the libffi from gcc which causes problems +BUILD_DEPENDS= libffi>=0:${PORTSDIR}/devel/libffi +RUN_DEPENDS= libffi>=0:${PORTSDIR}/devel/libffi + GNU_CONFIGURE= yes WRKSRC= ${RUBY_WRKSRC} CONFIGURE_ARGS= ${RUBY_CONFIGURE_ARGS} \