Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Jun 2012 21:49:02 +0100
From:      Chris Rees <utisoft@gmail.com>
To:        Waitman Gobble <uzimac@da3m0n8t3r.com>
Cc:        "freebsd-ports@freebsd.org" <freebsd-ports@freebsd.org>
Subject:   Re: portlint warning, extra item placed in *_DEPENDS
Message-ID:  <CADLo8396N0emwmLEUWDt3CEH0dfFVYG6yNOb5f_mG8F8Pq8p8A@mail.gmail.com>
In-Reply-To: <1340570777.11780@da3m0n8t3r.com>
References:  <98805b71-aeb2-4e7c-9485-c72310c0c2fd@blur> <1340570777.11780@da3m0n8t3r.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Jun 24, 2012 9:46 PM, "Waitman Gobble" <uzimac@da3m0n8t3r.com> wrote:
>
> Michael Scheidell <michael.scheidell@secnap.com> wrote ..
> > Try a blank line in between depends and use
> >
> > --
> > Michael Scheidell, CTO
> > >|SECNAP Network Security
> >
> >
> > -----Original message-----
> > From: Waitman Gobble <uzimac@da3m0n8t3r.com>
> > To: "freebsd-ports@freebsd.org" <freebsd-ports@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



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