From owner-freebsd-ports@FreeBSD.ORG Sun Jun 24 20:49:03 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BFED41065677 for ; Sun, 24 Jun 2012 20:49:03 +0000 (UTC) (envelope-from utisoft@gmail.com) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 4358E8FC08 for ; Sun, 24 Jun 2012 20:49:03 +0000 (UTC) Received: by bkvi18 with SMTP id i18so3374442bkv.13 for ; Sun, 24 Jun 2012 13:49:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=I8FAUSBBbTY2jMmVhF0mhvW8iyOyO7cimor4Gw5qZQ0=; b=KFMrzHCMeklEm6E/zoEcd4SIZY34a4jw3dsdN+3tIZQPmJyJ37+5Rdp27KEf1BKIHJ FmzJJA/U21x6uhzDBz8cOmU8SG6N/WANBScOkEgWdWIEcST1GKxBM5BZJCp3e/w3FHLL iWeSrLqCQKB2G8rhIBGZt/wU7dq659tw3XiG3zhV4f2klZ3/Qj5/CxePhP9TtZE1yfpW Y8bCqv3a0nhaZpdFxL1M8KYzaTsxQqhuTe4SJxX19F7c0SlVWroJODmTLlz4zRUGo19Q HT6dlSPeF48UR2VVZCpv/bEN556VHP1cOngWndvUj59Cp1QLAg/MuC3QgrVnSKDeE/Vw HRUA== MIME-Version: 1.0 Received: by 10.204.156.69 with SMTP id v5mr3199044bkw.133.1340570942063; Sun, 24 Jun 2012 13:49:02 -0700 (PDT) Received: by 10.204.171.138 with HTTP; Sun, 24 Jun 2012 13:49:02 -0700 (PDT) Received: by 10.204.171.138 with HTTP; Sun, 24 Jun 2012 13:49:02 -0700 (PDT) In-Reply-To: <1340570777.11780@da3m0n8t3r.com> References: <98805b71-aeb2-4e7c-9485-c72310c0c2fd@blur> <1340570777.11780@da3m0n8t3r.com> Date: Sun, 24 Jun 2012 21:49:02 +0100 Message-ID: From: Chris Rees To: Waitman Gobble Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: "freebsd-ports@freebsd.org" Subject: Re: portlint warning, extra item placed in *_DEPENDS X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Jun 2012 20:49:03 -0000 On Jun 24, 2012 9:46 PM, "Waitman Gobble" wrote: > > Michael Scheidell wrote .. > > Try a blank line in between depends and use > > > > -- > > Michael Scheidell, CTO > > >|SECNAP Network Security > > > > > > -----Original message----- > > From: Waitman Gobble > > To: "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