svn commit: r343127 - head/net-p2p/litecoin

Max Brazhnikov makc at freebsd.org
Mon Feb 10 07:09:21 UTC 2014


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 at 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.

Max


More information about the svn-ports-all mailing list