From owner-svn-ports-head@FreeBSD.ORG Mon Feb 10 14:38:42 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2C2C47C0; Mon, 10 Feb 2014 14:38:42 +0000 (UTC) Received: from mouf.net (mouf.net [IPv6:2607:fc50:0:4400:216:3eff:fe69:33b3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id BF47E1332; Mon, 10 Feb 2014 14:38:41 +0000 (UTC) Received: from mouf.net (swills@mouf [199.48.129.64]) by mouf.net (8.14.5/8.14.5) with ESMTP id s1AEcTI5098902 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 10 Feb 2014 14:38:34 GMT (envelope-from swills@mouf.net) Received: (from swills@localhost) by mouf.net (8.14.5/8.14.5/Submit) id s1AEcTCZ098901; Mon, 10 Feb 2014 14:38:29 GMT (envelope-from swills) Date: Mon, 10 Feb 2014 14:38:29 +0000 From: Steve Wills To: Max Brazhnikov Subject: Re: svn commit: r343127 - head/net-p2p/litecoin Message-ID: <20140210143828.GC84043@mouf.net> References: <201402061736.s16Hadub043605@svn.freebsd.org> <605830F6CCEB54F87199C004@atuin.in.mat.cc> <20140209172344.GA73191@mouf.net> <2329817.S9dZMnEzdS@mercury.ph.man.ac.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <2329817.S9dZMnEzdS@mercury.ph.man.ac.uk> User-Agent: Mutt/1.5.21 (2010-09-15) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (mouf.net [199.48.129.64]); Mon, 10 Feb 2014 14:38:34 +0000 (UTC) X-Spam-Status: No, score=0.0 required=4.5 tests=none autolearn=unavailable version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on mouf.net X-Virus-Scanned: clamav-milter 0.97.8 at mouf.net X-Virus-Status: Clean Cc: Mathieu Arnold , svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Feb 2014 14:38:42 -0000 On Mon, Feb 10, 2014 at 07:09:06AM +0000, Max Brazhnikov wrote: > On Sun, 09 Feb 2014 17:23:45 +0000 Steve Wills wrote: > > On Sun, Feb 09, 2014 at 06:05:23PM +0100, Mathieu Arnold wrote: > > > +--On 9 février 2014 17:03:08 +0000 Steve Wills wrote: > > > | On Thu, Feb 06, 2014 at 09:02:23PM +0000, Max Brazhnikov wrote: > > > |> On Thu, 06 Feb 2014 17:36:39 +0000Thu Feb 6 17:36:38 2014 Steve Wills > > > |> wrote: > > > |> > -.if ${PORT_OPTIONS:MGUI} && !defined(WITHOUT_X11) > > > |> > +.if ${PORT_OPTIONS:MX11} > > > |> > USE_QT4= qmake_build linguist uic moc rcc > > > |> > > > |> You can safely add _build suffix for uic, moc, and rcc. linquist is > > > |> only used for translations, so it can be suffixed too, but then USE_QT4 > > > |> must be populated with runtime dependencies. > > > | > > > | Thanks. I'm about to update and want to include those changes. How can I > > > | tell what runtime dependencies are needed in USE_QT4? > > > > > > I was wondering the same for another qt app I maintain :-) > > > > > > > Just guessing, ldd /usr/local/bin/litecoin-qt shows (amoungst others): > > > > libQtGui.so.4 => /usr/local/lib/qt4/libQtGui.so.4 (0x8026c3000) > > libQtNetwork.so.4 => /usr/local/lib/qt4/libQtNetwork.so.4 (0x803411000) > > libQtCore.so.4 => /usr/local/lib/qt4/libQtCore.so.4 (0x80376a000) > > > > So I'm guessing I need USE_QT4= core network gui, along with the _build ones. > > Yes, using ldd output is the simplest way to determine required Qt components. > Just remember to add new and remove unused dependencies whenever you upgrade > ports. Excellent, thanks! Steve