From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Apr 25 05:26:12 2008 Return-Path: Delivered-To: freebsd-ports-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 881651065674 for ; Fri, 25 Apr 2008 05:26:12 +0000 (UTC) (envelope-from c11h15no2@yahoo.com) Received: from web30001.mail.mud.yahoo.com (web30001.mail.mud.yahoo.com [209.191.69.18]) by mx1.freebsd.org (Postfix) with SMTP id 2E6B68FC13 for ; Fri, 25 Apr 2008 05:26:12 +0000 (UTC) (envelope-from c11h15no2@yahoo.com) Received: (qmail 69595 invoked by uid 60001); 25 Apr 2008 04:59:30 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=KR/nzZX/bRolvh+LtE0gY9OMOlXNYRja+4yg07GOuRGuOexKTYjG4qHMqZ+Pzdl4pJE/hsOv9ahQKb5drHNZmbAaEfobn15P4meeICat6a06oOAUsp1INJXclhXwUWYasKDmbr9eoIxOSq+hfuSsgN07Udzex+ET2NQbK/WALSU=; X-YMail-OSG: HWYLSusVM1kESjQ7nFM90jmGnbEEfNjK2pDMGpSefUQNSamOCnvLVy4zqRWsParNV593LwQ5pfPUiADGTLPCIUJLpX9BKp10E2hlNWLYPAkBIsQQuhk4J0A0KA-- Received: from [12.216.99.19] by web30001.mail.mud.yahoo.com via HTTP; Thu, 24 Apr 2008 21:59:30 PDT Date: Thu, 24 Apr 2008 21:59:30 -0700 (PDT) From: Amatus To: freebsd-ports-bugs@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <176074.41931.qm@web30001.mail.mud.yahoo.com> X-Mailman-Approved-At: Fri, 25 Apr 2008 11:22:49 +0000 Cc: Subject: trouble optionaly enabling QT4 support X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: amatus@gnu.org List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Apr 2008 05:26:12 -0000 I'm upgrading the gnunet port and I'm trying to use the OPTIONS= configuration method. The handbook says to place OPTIONS= before .include and the .if defined(WITH_QT4) after bsd.port.pre.mk. So I have this: OPTIONS= QT4 "Build qt4 support for gnunet-setup" On .include .if defined(WITH_QT4) USE_QT_VER= 4 CONFIGURE_ARGS+= --with-qt=${LOCALBASE} PLIST_SUB+= WITH_QT4="" .else CONFIGURE_ARGS+= --without-qt PLIST_SUB+= WITH_QT4="@comment " .endif But when I run portlint it complains that USE_QT_VER is after .include . How do I resolve this? ____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ