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

看板DFBSD_commit作者時間21年前 (2005/04/21 06:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
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
文章代碼(AID): #12Pj4b00 (DFBSD_commit)