Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Jul 2003 09:53:56 -0700
From:      Will Andrews <will@csociety.org>
To:        Nakata Maho <chat95@mbox.kyoto-inet.or.jp>
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
Message-ID:  <20030720165356.GX87617@procyon.firepipe.net>
In-Reply-To: <20030721.012614.229793001.chat95@mbox.kyoto-inet.or.jp>
References:  <200307201151.h6KBpR23019208@repoman.freebsd.org> <3F1A82D7.16616.487236F7@localhost> <20030721.012614.229793001.chat95@mbox.kyoto-inet.or.jp>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030720165356.GX87617>