Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Aug 2000 03:00:00 -0400
From:      Bill Fumerola <billf@chimesnet.com>
To:        Brian Fundakowski Feldman <green@FreeBSD.org>
Cc:        Dan Langille <dan@langille.org>, Akinori MUSHA <knu@FreeBSD.ORG>, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG
Subject:   Re: cvs commit: ports/devel Makefile ports/devel/ruby-slang Makefile ports/devel/ruby-slang/files md5 ports/devel/ruby-
Message-ID:  <20000823030000.Q57333@jade.chc-chimes.com>
In-Reply-To: <Pine.BSF.4.21.0008230253380.43476-100000@green.dyndns.org>; from green@FreeBSD.org on Wed, Aug 23, 2000 at 02:55:04AM -0400
References:  <200008230628.SAA15870@ducky.nz.freebsd.org> <Pine.BSF.4.21.0008230253380.43476-100000@green.dyndns.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Aug 23, 2000 at 02:55:04AM -0400, Brian Fundakowski Feldman wrote:

> The definition
> PKGNAMEPREFIX:= ${PKGNAMEPREFIX}ruby-
> looks right.
> 
> I imagine it could be
> PKGNAMEPREFIX+=ruby-
> though :)

No, it can't be:

[hawk-billf] /home/billf/foo > cat Makefile
FOO=foo
FOO+=bar

all:
        @echo ${FOO}
[hawk-billf] /home/billf/foo > make
foo bar
[hawk-billf] /home/billf/foo >

a stupid hack (only works if there is one member):
[hawk-billf] /home/billf/foo > cat Makefile
FOO=foo

all:
        @echo ${FOO:S/$/bar/}
[hawk-billf] /home/billf/foo > make
foobar
[hawk-billf] /home/billf/foo >

Someone more intelligent then I will no doubt come up with the
proper answer, though.

-- 
Bill Fumerola - Network Architect, BOFH / Chimes, Inc.
                billf@chimesnet.com / billf@FreeBSD.org





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




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