From owner-cvs-ports@FreeBSD.ORG Sun Jul 20 09:53:58 2003 Return-Path: Delivered-To: cvs-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7F97137B404; Sun, 20 Jul 2003 09:53:58 -0700 (PDT) Received: from procyon.firepipe.net (procyon.firepipe.net [198.78.66.151]) by mx1.FreeBSD.org (Postfix) with ESMTP id EED6E43FB1; Sun, 20 Jul 2003 09:53:56 -0700 (PDT) (envelope-from will@csociety.org) Received: by procyon.firepipe.net (Postfix, from userid 1000) id 9729721B9A; Sun, 20 Jul 2003 09:53:56 -0700 (PDT) Date: Sun, 20 Jul 2003 09:53:56 -0700 From: Will Andrews To: Nakata Maho Message-ID: <20030720165356.GX87617@procyon.firepipe.net> References: <200307201151.h6KBpR23019208@repoman.freebsd.org> <3F1A82D7.16616.487236F7@localhost> <20030721.012614.229793001.chat95@mbox.kyoto-inet.or.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030721.012614.229793001.chat95@mbox.kyoto-inet.or.jp> User-Agent: Mutt/1.4.1i cc: maho@FreeBSD.org cc: cbc06942@pop06.odn.ne.jp cc: cvs-ports@FreeBSD.org cc: dan@langille.org cc: cvs-all@FreeBSD.org cc: ports-committers@FreeBSD.org Subject: Re: cvs commit: ports/emulators Makefile ports/emulators/fceu Makefile distinfo pkg-descr pkg-message pkg-plistpatch-Makefile.u X-BeenThere: cvs-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Jul 2003 16:53:59 -0000 On Mon, Jul 21, 2003 at 01:26:14AM +0900, Nakata Maho wrote: > > $ make -V PORTVERSION > > "Makefile", line 40: Unassociated shell command "@${ECHO} "You can optimize by setting WITH_OPTIMIZED_FLAGS=yes."" > > make: fatal errors encountered -- cannot continue > > Hmmm, it doesn't reproduce my environment. > > % make -V PORTREVISION > 0 > % make -V PORTVERSION > 0.96 > > % uname -a > FreeBSD debussy.private.org 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Mon Jul 14 07:14:39 JST 2003 maho@debussy.private.org:/work/cvsup/src/sys/i386/compile/MAHO_DEBUSSY-5-CURRENT i386 Interesting. Your make must be pretty messed up, because the shell command in question isn't under any target, so there is no way it's valid make syntax. And ECHO isn't a variable in bsd.port.mk, but ECHO_MSG and ECHO_CMD are. You want something like this: --- Makefile 20 Jul 2003 11:51:26 -0000 1.1 +++ Makefile 20 Jul 2003 16:52:39 -0000 @@ -38,7 +38,7 @@ .endif -.if !defined(WITH_OPTIMIZED_FLAGS) - @${ECHO} "You can optimize by setting WITH_OPTIMIZED_FLAGS=yes." -.endif pre-everything:: +.if !defined(WITH_OPTIMIZED_FLAGS) + @${ECHO_MSG} "You can optimize by setting WITH_OPTIMIZED_FLAGS=yes." +.endif .if !defined(NOPORTDOCS) && !defined(TECH_DOC_INSTALL) Regards, -- wca