From owner-freebsd-ports@FreeBSD.ORG Thu Jan 12 06:45:40 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 9F6EF106566B; Thu, 12 Jan 2012 06:45:40 +0000 (UTC) (envelope-from jhelfman@experts-exchange.com) Received: from mail.experts-exchange.com (mail.experts-exchange.com [72.29.183.251]) by mx1.freebsd.org (Postfix) with ESMTP id 7266C8FC0C; Thu, 12 Jan 2012 06:45:40 +0000 (UTC) Received: from mail.experts-exchange.com (localhost [127.0.0.1]) by mail.experts-exchange.com (Postfix) with ESMTP id 384BD6EE38A; Wed, 11 Jan 2012 22:27:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=e-e.com; h= user-agent:organization:in-reply-to:content-disposition :content-type:content-type:mime-version:references:message-id :subject:subject:from:from:date:date:received:received:received; s=ee; t=1326349667; x=1328164067; bh=9HMC8E0RH0t5Y7Xbt7RGORHo7v E4b//R5MPs3aL9mYc=; b=VDijRX6/BZ8mg7M8W4zyi9EjxP5L2LIAe1YO4pVcUj bFahEoTYXSsyPx6RqNOxBdS2Atqmy+nCUw3O4ebldg/K711h3ojyMpdFBN7vzJXU +wBQrYU46N5oBpFzIoLdhOYATnT592QDAANBBMQ6khSa1lRRrmfH3AAeKdC1zxgb Q= X-Virus-Scanned: amavisd-new at experts-exchange.com Received: from mail.experts-exchange.com ([127.0.0.1]) by mail.experts-exchange.com (mail.experts-exchange.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 65ryPzmOoSrf; Wed, 11 Jan 2012 22:27:47 -0800 (PST) Received: from experts-exchange.com (unknown [192.168.103.120]) by mail.experts-exchange.com (Postfix) with SMTP id 122E86EE38E; Wed, 11 Jan 2012 22:27:47 -0800 (PST) Received: (nullmailer pid 63897 invoked by uid 1001); Thu, 12 Jan 2012 06:27:05 -0000 Date: Wed, 11 Jan 2012 22:27:05 -0800 From: Jason Helfman To: Stephen Montgomery-Smith Message-ID: <20120112062705.GA63861@dormouse.experts-exchange.com> References: <4F0E395B.6020201@herveybayaustralia.com.au> <4F0E4D20.405@missouri.edu> <4F0E5809.4020700@herveybayaustralia.com.au> <4F0E5A92.2050607@missouri.edu> <4F0E5E1E.20904@herveybayaustralia.com.au> <4F0E60B6.4040904@missouri.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <4F0E60B6.4040904@missouri.edu> X-Operating-System: FreeBSD 8.2-RELEASE amd64 Organization: Experts-Exchange, LLC. http://www.experts-exchange.com X-Living-The-Dream: I love the SLO Life! User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Da Rock , FreeBSD Ports , ahze@FreeBSD.org Subject: Re: unassociated shell command 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: Thu, 12 Jan 2012 06:45:40 -0000 On Wed, Jan 11, 2012 at 10:25:26PM -0600, Stephen Montgomery-Smith thus spake: >On 01/11/2012 10:14 PM, Da Rock wrote: >>>>>> I'm still very new to this, but I'm almost complete on my first >>>>>> port. I >>>>>> do have an unusual error which crops up from time to time and I'm >>>>>> usually able to fudge along and clear it- but this last little bit >>>>>> won't >>>>>> clear! >>>>>> >>>>>> The particular lines in question are as follows: >>>>>> >>>>>> post-extract: >>>>>> [snip] >>>>>> .if defined(NOPORTDOCS) >>>>>> @if [ -d ${WRKDIR}/usr/share/doc ]; then \ >>>>>> ${RM} -rf ${WRKDIR}/usr/share/doc; \ >>>>>> fi >>>>>> PLIST_SUB+="@comment " >>>>>> .else >>>>>> PLIST_SUB+= PORTDOCS="" >>>>>> .endif >>>>>> >>>>>> and I get the following error make -DNOPORTDOCS install: >>>>>> "Makefile", line 59: Unassociated shell command "@if [ -d >>>>>> ${WRKDIR}/usr/share/doc ]; then ${RM} -rf ${WRKDIR}/usr/share/doc; fi" >>>>>> make: fatal errors encountered -- cannot continue >>>>>> >>>>>> What am I possibly missing? No googling helps, and I've tried many >>>>>> different tricks that have worked in the past as ${DIRRM}, ${RM}, >>>>>> individual directory/file removal, etc. >>>>>> >>>>>> The indentation is exactly as in the Makefile. Is the indentation whitespace, or using tabs? It should be tabs, in my experience. -jgh -- Jason Helfman System Administrator experts-exchange.com http://www.experts-exchange.com/M_4830110.html E4AD 7CF1 1396 27F6 79DD 4342 5E92 AD66 8C8C FBA5