Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Oct 2000 11:35:40 -0500
From:      "David W. Chapman Jr." <dwcjr@inethouston.net>
To:        "Maxim Sobolev" <sobomax@FreeBSD.org>
Cc:        <ports@FreeBSD.org>
Subject:   Re: New
Message-ID:  <068001c04033$f1a36160$931576d8@inethouston.net>
References:  <061201c03ff1$2dac2ae0$931576d8@inethouston.net> <39F94283.2C8FC791@FreeBSD.org> <063801c03ff5$050f4c80$931576d8@inethouston.net> <39F94648.3B53FD28@FreeBSD.org> <065201c03ff7$a13745c0$931576d8@inethouston.net> <39F95B6B.52293785@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
I changed it so I have this in my Makefile now

post-extract:
.if !defined(USE_FACILITY)
  @${ECHO_MSG} "blah blah blah"
.endif

and it fails to output anything if USE_FACILITY is not defined still
----- Original Message -----
From: "Maxim Sobolev" <sobomax@FreeBSD.org>
To: "David W. Chapman Jr." <dwcjr@inethouston.net>
Sent: Friday, October 27, 2000 5:39 AM
Subject: Re: New


> It's because you can only invoke shell commands within rules, i.e. you
should
> add something like:
> post-extract:
> .if !defined(blabla)
>     @${ECHO_MSG} "foo"
> .endif
>
> -Maxim
>
>



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?068001c04033$f1a36160$931576d8>