From owner-freebsd-ports@FreeBSD.ORG Sun Nov 20 13:47:41 2011 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 5ECFF106566B; Sun, 20 Nov 2011 13:47:41 +0000 (UTC) (envelope-from Cy.Schubert@komquats.com) Received: from idcmail-mo1so.shaw.ca (idcmail-mo1so.shaw.ca [24.71.223.10]) by mx1.freebsd.org (Postfix) with ESMTP id 1536A8FC0A; Sun, 20 Nov 2011 13:47:40 +0000 (UTC) Received: from pd3ml3so-ssvc.prod.shaw.ca ([10.0.141.149]) by pd3mo1so-svcs.prod.shaw.ca with ESMTP; 20 Nov 2011 06:47:40 -0700 X-Cloudmark-SP-Filtered: true X-Cloudmark-SP-Result: v=1.1 cv=svA9syYi2VW8WjUw5Fmdp5V1toRmC2VQL6MasMQUDjw= c=1 sm=1 a=QrugwKR0C_UA:10 a=wAGQQ9Az6v0A:10 a=BLceEmwcHowA:10 a=ICAaq7hcmGcA:10 a=kj9zAlcOel0A:10 a=2Er20JxOMs3KTlR2XTlUiQ==:17 a=6I5d2MoRAAAA:8 a=BWvPGDcYAAAA:8 a=40EnbplkAAAA:8 a=xG0wvhZ_s5G1y3KVEIUA:9 a=CjuIK1q_8ugA:10 a=SV7veod9ZcQA:10 a=V7tsTZBp22UA:10 a=HpAAvcLHHh0Zw7uRqdWCyQ==:117 Received: from unknown (HELO spqr.komquats.com) ([24.68.73.211]) by pd3ml3so-dmz.prod.shaw.ca with ESMTP; 20 Nov 2011 06:47:40 -0700 Received: from slippy.cwsent.com (slippy [10.1.1.91]) by spqr.komquats.com (Postfix) with ESMTP id DAE9446B6C; Sun, 20 Nov 2011 05:47:39 -0800 (PST) Received: from slippy (localhost [127.0.0.1]) by slippy.cwsent.com (8.14.5/8.14.5) with ESMTP id pAKDldYU003839; Sun, 20 Nov 2011 05:47:39 -0800 (PST) (envelope-from Cy.Schubert@komquats.com) Message-Id: <201111201347.pAKDldYU003839@slippy.cwsent.com> X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.3 From: Cy Schubert X-os: FreeBSD X-Sender: cy@cwsent.com X-URL: http://www.komquats.com/ To: Stanislav Sedov In-Reply-To: Message from Stanislav Sedov of "Sun, 20 Nov 2011 00:03:04 PST." <20111120000304.343059f4.stas@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 20 Nov 2011 05:47:39 -0800 Cc: freebsd-ports@FreeBSD.org Subject: Re: Makefile Issue X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Cy Schubert List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Nov 2011 13:47:41 -0000 In message <20111120000304.343059f4.stas@FreeBSD.org>, Stanislav Sedov writes: > On Fri, 18 Nov 2011 07:42:56 -0800 > Cy Schubert mentioned: > > > Hi everyone, > > > > Can anyone enlighten me as to why this following make fragment doesn't > > work? It falls through to .else. > > > > PKGNAMESUFFIX= -devel > > .if defined(PKGNAMESUFFIX) && !empty(PKGNAMESUFFIX) > > MASTER_SITES= http://www.fwbuilder.org/nightly_builds/fwbuilder-5.0/build > - > > ${BUILD}/ > > PORTVERSION= ${DISTVERSION}.b${BUILD} > > .else > > MASTER_SITES= SF/${PORTNAME}/Current_Packages/${PORTVERSION} > > DISTVERSIONSUFFIX= .${BUILD} > > .endif > > > > If I replace PKGNAMESUFFIX= -devel and the .if defined... with > > PKGNAMESUFFIX= "-devel" > > .if defined(PKGNAMESUFFIX) && ${PKGNAMESUFFIX} == "-devel" > > it works. > > > > Works here. > > Why do you think it doesn't work for you? Got it working a couple of days ago. Typo elsewhere in the makefile. -- Cheers, Cy Schubert FreeBSD UNIX: Web: http://www.FreeBSD.org The need of the many outweighs the greed of the few.