Date: Mon, 10 Feb 2014 07:09:06 +0000 From: Max Brazhnikov <makc@freebsd.org> To: Steve Wills <swills@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: <2329817.S9dZMnEzdS@mercury.ph.man.ac.uk> In-Reply-To: <20140209172344.GA73191@mouf.net> References: <201402061736.s16Hadub043605@svn.freebsd.org> <605830F6CCEB54F87199C004@atuin.in.mat.cc> <20140209172344.GA73191@mouf.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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=E9vrier 2014 17:03:08 +0000 Steve Wills <swills@freebsd.o= rg> 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=3D qmake_build linguist uic moc rcc > > |>=20 > > |> 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. > > |=20 > > | Thanks. I'm about to update and want to include those changes. Ho= w can I > > | tell what runtime dependencies are needed in USE_QT4? > >=20 > > I was wondering the same for another qt app I maintain :-) > >=20 >=20 > Just guessing, ldd /usr/local/bin/litecoin-qt shows (amoungst others)= : >=20 > libQtGui.so.4 =3D> /usr/local/lib/qt4/libQtGui.so.4 (0x8026c3= 000) > libQtNetwork.so.4 =3D> /usr/local/lib/qt4/libQtNetwork.so.4 (= 0x803411000) > libQtCore.so.4 =3D> /usr/local/lib/qt4/libQtCore.so.4 (0x8037= 6a000) >=20 > So I'm guessing I need USE_QT4=3D core network gui, along with the _b= uild ones. Yes, using ldd output is the simplest way to determine required Qt comp= onents. Just remember to add new and remove unused dependencies whenever you up= grade ports. Max
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2329817.S9dZMnEzdS>