Date: Fri, 9 Aug 1996 09:41:19 -0400 (EDT) From: James FitzGibbon <james@nexis.net> To: ports@freebsd.org Subject: dumpb question about make Message-ID: <Pine.BSI.3.94.960809093232.4598A-100000@bdd.net>
next in thread | raw e-mail | index | archive | help
Can anyone provide some help on overriding makefile variables with environment variables ? I have a port I'm working on that has RESTRICTED set to yes, but the machineI'm building it on (for various reason) has NO_RESTRICTED set to "yes". I've tried setting NO_RESTRICTED to "no" in my environment and then using make -e, but the way the ports makefile works, it just checks for the definition of NO_RESTRUCTED, not if it equals "yes": .if (defined(RESTRICTED) && defined(NO_RESTRICTED)) IGNORE=YES .endif Is there some way to remove a variable from the make envronment based upon a trigger in my shell environment. The only other way I can think of handling this is to have bsd.port.mk check agains NO_RESUTRCTED equalling "yes", but this seems to go against the way that the makefile is written. -- j. ---------------------------------------------------------------------------- | James FitzGibbon james@nexis.net | | Integrator, The Nexis Group Voice/Fax : 416 410-0100 | ----------------------------------------------------------------------------
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSI.3.94.960809093232.4598A-100000>