aboutsummaryrefslogtreecommitdiffstats
path: root/Mk/bsd.sanity.mk
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-09-19 16:05:05 +0800
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-09-19 16:05:05 +0800
commitcb471dbbdc733133c89a3e369f4098b378f9a96f (patch)
tree88a2a42dc250ea943bbc0ec8ecc37d869d720bea /Mk/bsd.sanity.mk
parent0103973e81fb2dbf9d126d7cfe0b484151f45788 (diff)
downloadfreebsd-ports-gnome-cb471dbbdc733133c89a3e369f4098b378f9a96f.tar.gz
freebsd-ports-gnome-cb471dbbdc733133c89a3e369f4098b378f9a96f.tar.zst
freebsd-ports-gnome-cb471dbbdc733133c89a3e369f4098b378f9a96f.zip
Move the target for sanity checking to the end of bsd.port.mk so that
WARNING and DEV_* can be defined anywhere While here, change sleep time from 5 to 10 so that users have time to read it [1] Suggested by: many [1]
Diffstat (limited to 'Mk/bsd.sanity.mk')
-rw-r--r--Mk/bsd.sanity.mk35
1 files changed, 0 insertions, 35 deletions
diff --git a/Mk/bsd.sanity.mk b/Mk/bsd.sanity.mk
index 1e6fb371f368..6110845c9211 100644
--- a/Mk/bsd.sanity.mk
+++ b/Mk/bsd.sanity.mk
@@ -91,41 +91,6 @@ DEV_WARNING+= "USE_GNOME=ltverhack is now useless LIB_DEPENDS can properly handl
DEV_WARNING+= "Please use the new format for LIB_DEPENDS, see handbook for details"
.endif
-.if defined(WARNING)
-show-warnings:
-.for m in ${WARNING}
- @${ECHO_MSG} "${m}"
-.endfor
- @sleep 5
-
-check-makefile:: show-warnings
-.endif
-
.if defined(_PREMKINCLUDED)
DEV_ERROR+= "you cannot include bsd.port[.pre].mk twice"
.endif
-
-.if defined(DEVELOPER)
-.if defined(DEV_WARNING)
-show-dev-warnings:
- @${ECHO_MSG} "/!\\ ${PKGNAME}: Makefile warnings, please consider fixing /!\\"
- @${ECHO_MSG}
-.for m in ${DEV_WARNING}
- @${ECHO_MSG} "${m}"
-.endfor
- @${ECHO_MSG}
- @sleep 5
-check-makefile:: show-dev-warnings
-.endif
-
-.if defined(DEV_ERROR)
-show-dev-errors:
- @${ECHO_MSG} "/!\\ ${PKGNAME}: Makefile errors /!\\"
- @${ECHO_MSG}
-.for m in ${DEV_WARNING}
- @${ECHO_MSG} "${m}"
-.endfor
- @${FALSE}
-check-makefile:: show-dev-errors
-.endif
-.endif