Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

NO_CDROM="foo bar" or NO_CDROM= foo bar ?

0 views
Skip to first unread message

ITOH Yasufumi

unread,
Jul 17, 2000, 3:00:00 AM7/17/00
to
OK, then, I have another question.
At a glance of the Makefiles in pkgsrc, the syntax

1. NO_CDROM= "the reason ..."

is generally used, but this causes fantastic result by "make FOR_CDROM=YES".

% cd /usr/pkgsrc/net/socks5
pino:/usr/pkgsrc/net/socks5 % make FOR_CDROM=YES
===> socks5-1.0.2 may not be placed on a CDROM: NEC
has
a
funky
license
for
this
software

The syntax

2. NO_CDROM= the reason ...

seems to work as expected.
Which syntax should I use?

I'm not on this mailing list. Please Cc: me replies.

Thanks,
--
ITOH, Yasufumi <it...@netbsd.org>

Hubert Feyrer

unread,
Jul 17, 2000, 3:00:00 AM7/17/00
to
On Mon, 17 Jul 2000, ITOH Yasufumi wrote:
> 1. NO_CDROM= "the reason ..."
>
> is generally used, but this causes fantastic result by "make FOR_CDROM=YES".
>
> % cd /usr/pkgsrc/net/socks5
> pino:/usr/pkgsrc/net/socks5 % make FOR_CDROM=YES

I have no clue why you get the words each on one line, but if you want to
be able to overrite NO_CDROM from the command line, you have to assign it
with ?=:

NO_CDROM?= "whatever reason"


- Hubert

--
NetBSD - because Unix isn't just #include <linux.h>, i386, ILP32, ELF, ...!


mcma...@mtl.mit.edu

unread,
Jul 17, 2000, 3:00:00 AM7/17/00
to

what about using '' instead? like
NO_CDROM?= 'whatever reason'

I think thats what I've had to do. Like in print/acroread (except for
IGNORE instead of NO_CDROM).

-Dan

0 new messages