portlint warning, extra item placed in *_DEPENDS

Chris Rees utisoft at gmail.com
Sun Jun 24 20:49:03 UTC 2012


On Jun 24, 2012 9:46 PM, "Waitman Gobble" <uzimac at da3m0n8t3r.com> wrote:
>
> Michael Scheidell <michael.scheidell at secnap.com> wrote ..
> > Try a blank line in between depends and use
> >
> > --
> > Michael Scheidell, CTO
> > >|SECNAP Network Security
> >
> >
> > -----Original message-----
> > From: Waitman Gobble <uzimac at da3m0n8t3r.com>
> > To: "freebsd-ports at freebsd.org" <freebsd-ports at freebsd.org>
> > Sent: Sun, Jun 24, 2012 20:37:28 GMT+00:00
> > Subject: portlint warning, extra item placed in *_DEPENDS
> >
> > Hi,
> >
> > I am working on a port and trying to have 'no warnings' when using
portlint.
> > I am receiving one warning:
> >
> > # portlint
> > WARN: Makefile: extra item placed in the *_DEPENDS section, for
example, "USE_QT4".
> > 0 fatal errors and 1 warning found.
> >
> > I am not sure I understand how to fix this warning, if somebody has a
hint or suggestion
> > I would really appreciate it.
> >
> >
> > I believe this is the relevant section of Makefile..
> >
> > BUILD_DEPENDS=  dcraw:${PORTSDIR}/graphics/dcraw
> > USE_QT4=        gui xml qmake_build uic_build moc_build rcc_build
> > QPROFILE=       puf
> > WRKSRC=         ${WRKDIR}/${QPROFILE}
> > HAS_CONFIGURE=  yes
> > DESKTOP_ENTRIES="puf" "${COMMENT}" "" "puf" \
> >                 "Graphics;2DGraphics;RasterGraphics;" "true"
> >
> > (i can send entire Makefile as needed.)
> >
> > Thanks so much,
> >
> > --
> > Waitman Gobble
> > San Jose California USA
>
>
> Thank you,
> I split up the sections with blank lines, but I think the problem was
because there was no space(tab) between DESKTOP_ENTRIES= and rhs. Adding
that space seemed to remove the warning..

The problem was definitely the missing blank line, since that is what the
check is for :)

Hope your porting goes well.

Chris


More information about the freebsd-ports mailing list