Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Feb 2014 14:38:29 +0000
From:      Steve Wills <swills@freebsd.org>
To:        Max Brazhnikov <makc@freebsd.org>
Cc:        Mathieu Arnold <mat@freebsd.org>, svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org
Subject:   Re: svn commit: r343127 - head/net-p2p/litecoin
Message-ID:  <20140210143828.GC84043@mouf.net>
In-Reply-To: <2329817.S9dZMnEzdS@mercury.ph.man.ac.uk>
References:  <201402061736.s16Hadub043605@svn.freebsd.org> <605830F6CCEB54F87199C004@atuin.in.mat.cc> <20140209172344.GA73191@mouf.net> <2329817.S9dZMnEzdS@mercury.ph.man.ac.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <swills@freebsd.org> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140210143828.GC84043>