diff options
author | ak <ak@FreeBSD.org> | 2014-01-27 04:48:58 +0800 |
---|---|---|
committer | ak <ak@FreeBSD.org> | 2014-01-27 04:48:58 +0800 |
commit | bc0f1c08cbe6271e9407a1e82274eb309e89d761 (patch) | |
tree | d39a631638f7c800269c7741a99becbfcc4f52de /Mk/bsd.sanity.mk | |
parent | 77cd122ee87628c812ee3ff921622ad600ad61d7 (diff) | |
download | freebsd-ports-gnome-bc0f1c08cbe6271e9407a1e82274eb309e89d761.tar.gz freebsd-ports-gnome-bc0f1c08cbe6271e9407a1e82274eb309e89d761.tar.zst freebsd-ports-gnome-bc0f1c08cbe6271e9407a1e82274eb309e89d761.zip |
- Add a developer warning if NO_STAGE is set
Approved by: portmgr (mat)
Diffstat (limited to 'Mk/bsd.sanity.mk')
-rw-r--r-- | Mk/bsd.sanity.mk | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Mk/bsd.sanity.mk b/Mk/bsd.sanity.mk index 0d4303f4dc82..0ec9c3aee30b 100644 --- a/Mk/bsd.sanity.mk +++ b/Mk/bsd.sanity.mk @@ -116,6 +116,12 @@ DEV_WARNING+= "USE_TCL and USE_TK are deprecated, please use USES=tcl or USES=tk DEV_WARNING+= "USE_SCONS=yes is deprecated, please use USES=scons" .endif +# print warning if no reason given for NO_STAGE +.if defined(NO_STAGE) && ${NO_STAGE:L} == yes +DEV_WARNING+= "NO_STAGE is deprecated, convert port to stage directory:" +DEV_WARNING+= "https://wiki.freebsd.org/action/diff/ports/StageDir" +.endif + .if !defined(NO_STAGE) .for a in 1 2 3 4 5 6 7 8 9 L N .if defined(MAN${a}) |