Skip site navigation (1)Skip section navigation (2)
Date:      04 Oct 1999 15:18:44 -0700
From:      asami@FreeBSD.org (Satoshi - Ports Wraith - Asami)
To:        Chuck Robey <chuckr@picnic.mat.net>
Cc:        chuckr@FreeBSD.org, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: ports/editors/thoteditor Makefile ports/editors/thoteditor/patches          patch-ac patch-ae
Message-ID:  <vqcbtaezs57.fsf@silvia.hip.berkeley.edu>
In-Reply-To: Chuck Robey's message of "Mon, 4 Oct 1999 16:00:44 -0400 (EDT)"
References:  <Pine.BSF.4.10.9910041556040.373-100000@picnic.mat.net>

next in thread | previous in thread | raw e-mail | index | archive | help
 * From: Chuck Robey <chuckr@picnic.mat.net>

 * I haven't been watching too well until very lately, about ports
 * development.  Did you notice the relatively extravagant use I had to make
 * of paired patch-it-then-sed-it sequences I had to make in thot?  First
 * patch in something like %%MOTIFLIB%%, then sed it out with the real value
 * of $(MOTIFLIB).  Is there any facility yet in ports to automate something
 * like that?  The dual patch-it-then-sed-it?

Err, you should be able to patch them as literal '${MOTIFLIB}' and
'${PREFIX}'.  They are passed to subprocesses using MAKE_ENV.

Which answers your next question (in case you were planning to ask it)
-- to add things that are not passed by bsd.port.mk by default, you
just need to define it as MAKE_ENV="VAR=${VALUE}" and it will also be
substituted.

Satoshi


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?vqcbtaezs57.fsf>