From owner-cvs-all Mon Oct 4 15:19:15 1999 Delivered-To: cvs-all@freebsd.org Received: from vader.cs.berkeley.edu (vader.CS.Berkeley.EDU [128.32.38.234]) by hub.freebsd.org (Postfix) with ESMTP id D5FD714F79; Mon, 4 Oct 1999 15:19:02 -0700 (PDT) (envelope-from asami@stampede.cs.berkeley.edu) Received: from silvia.hip.berkeley.edu (silvia [209.111.213.92]) by vader.cs.berkeley.edu (8.9.3/8.9.3) with ESMTP id PAA31398; Mon, 4 Oct 1999 15:18:58 -0700 (PDT) (envelope-from asami@stampede.cs.berkeley.edu) Received: (from asami@localhost) by silvia.hip.berkeley.edu (8.9.3/8.6.9) id PAA62148; Mon, 4 Oct 1999 15:18:48 -0700 (PDT) To: Chuck Robey 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 References: From: asami@FreeBSD.org (Satoshi - Ports Wraith - Asami) Date: 04 Oct 1999 15:18:44 -0700 In-Reply-To: Chuck Robey's message of "Mon, 4 Oct 1999 16:00:44 -0400 (EDT)" Message-ID: Lines: 18 X-Mailer: Gnus v5.7/Emacs 20.4 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk * From: Chuck Robey * 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