DragonFly BSD
DragonFly commits List (threaded) for 2005-04
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

cvs commit: src/share/mk bsd.dfport.mk bsd.port.mk bsd.port.subdir.mk


From: Max Okumoto <okumoto@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 20 Apr 2005 14:58:13 -0700 (PDT)

okumoto     2005/04/20 14:58:13 PDT

DragonFly src repository

  Modified files:
    share/mk             bsd.dfport.mk bsd.port.mk 
                         bsd.port.subdir.mk 
  Log:
  Stop exporting OSVERSION variable to enviornment via .makeenv.
  This quiets a the warning that OSVERSION is from the commandline
  when ports calls make recursively.
  
  OSVERSION is only used by the make infrastructure, so anything that
  references that variable would get it from make's global scope, or
  would get it from a recursively called make which would have put
  it into the env since it is in MAKEFLAGS.
  
  Variables set in the command line and MAKEFLAGS are readonly, those
  variables are also exported into the enviornment of make.  Nothing
  in the makefiles are able to modified thier values. (POSIX)
  
  This is compatible with .makeenv (soon to be .EXPORT:)
       o if variable does not exist create it and
         export it to the enviornment, as empty string.
       o if variable exists, export it to the enviornment
         with its value.
       o if variable that is exported is set after being
         exported, export its new value.
  
       o if variable is from command line or MAKEFLAGS
         do net change is value, or modify the enviornment.
         Emit a warning.
  
  Revision  Changes    Path
  1.5       +1 -2      src/share/mk/bsd.dfport.mk
  1.32      +0 -1      src/share/mk/bsd.port.mk
  1.5       +1 -2      src/share/mk/bsd.port.subdir.mk


http://www.dragonflybsd.org/cvsweb/src/share/mk/bsd.dfport.mk.diff?r1=1.4&r2=1.5&f=u
http://www.dragonflybsd.org/cvsweb/src/share/mk/bsd.port.mk.diff?r1=1.31&r2=1.32&f=u
http://www.dragonflybsd.org/cvsweb/src/share/mk/bsd.port.subdir.mk.diff?r1=1.4&r2=1.5&f=u



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]