summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzeising <zeising@058c260c-8361-11dd-a0ac-aa2bafec7d09>2013-09-19 17:04:00 +0800
committerzeising <zeising@058c260c-8361-11dd-a0ac-aa2bafec7d09>2013-09-19 17:04:00 +0800
commite2b66d30ce7a609a797a7f98b09241b4f8548f84 (patch)
tree3b2431483f7eceab9826a1f06549bb507f782769
parent7332e8ac1fa80d34ee8694785e92d142d1c6e607 (diff)
downloadxorg-devel-ports-e2b66d30ce7a609a797a7f98b09241b4f8548f84.tar
xorg-devel-ports-e2b66d30ce7a609a797a7f98b09241b4f8548f84.tar.gz
xorg-devel-ports-e2b66d30ce7a609a797a7f98b09241b4f8548f84.tar.bz2
xorg-devel-ports-e2b66d30ce7a609a797a7f98b09241b4f8548f84.tar.lz
xorg-devel-ports-e2b66d30ce7a609a797a7f98b09241b4f8548f84.tar.xz
xorg-devel-ports-e2b66d30ce7a609a797a7f98b09241b4f8548f84.tar.zst
xorg-devel-ports-e2b66d30ce7a609a797a7f98b09241b4f8548f84.zip
Sync with ports.
git-svn-id: https://trillian.chruetertee.ch/svn/ports/trunk@1153 058c260c-8361-11dd-a0ac-aa2bafec7d09
-rw-r--r--Mk/bsd.port.mk47
1 files changed, 38 insertions, 9 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index bf4634e..622e83b 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -1301,11 +1301,7 @@ STRIP= #none
# Start of pre-makefile section.
.if !defined(AFTERPORTMK) && !defined(INOPTIONSMK)
-.if defined(_PREMKINCLUDED)
-check-makefile::
- @${ECHO_MSG} "${PKGNAME}: Makefile error: you cannot include bsd.port[.pre].mk twice"
- @${FALSE}
-.endif
+.include "${PORTSDIR}/Mk/bsd.sanity.mk"
_PREMKINCLUDED= yes
@@ -1402,8 +1398,6 @@ PKGCOMPATDIR?= ${LOCALBASE}/lib/compat/pkg
.include "${PORTSDIR}/Mk/bsd.gnustep.mk"
.endif
-.include "${PORTSDIR}/Mk/bsd.perl.mk"
-
.if defined(USE_PHP)
.include "${PORTSDIR}/Mk/bsd.php.mk"
.endif
@@ -1969,8 +1963,6 @@ RUN_DEPENDS+= ${_GL_${_component}_RUN_DEPENDS}
.include "${PORTSDIR}/Mk/bsd.sdl.mk"
.endif
-.include "${PORTSDIR}/Mk/bsd.perl.mk"
-
.if defined(USE_PHP)
.include "${PORTSDIR}/Mk/bsd.php.mk"
.endif
@@ -6512,6 +6504,43 @@ install-license:
@${DO_NADA}
.endif
+.if defined(WARNING)
+show-warnings:
+ @${ECHO_MSG} "/!\\ WARNING /!\\"
+.for m in ${WARNING}
+ @${ECHO_MSG} "${m}"
+.endfor
+ @${ECHO_MSG}
+ @sleep 10
+
+check-makefile:: show-warnings
+.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 10
+check-makefile:: show-dev-warnings
+.endif
+
+.if defined(DEV_ERROR)
+show-dev-errors:
+ @${ECHO_MSG} "/!\\ ${PKGNAME}: Makefile errors /!\\"
+ @${ECHO_MSG}
+.for m in ${DEV_ERROR}
+ @${ECHO_MSG} "${m}"
+.endfor
+ @${ECHO_MSG}
+ @${FALSE}
+check-makefile:: show-dev-errors
+.endif
+.endif #DVELOPER
.endif
# End of post-makefile section.