summaryrefslogtreecommitdiff
path: root/mk/internal
diff options
context:
space:
mode:
authorrillig <rillig>2007-01-02 21:29:07 +0000
committerrillig <rillig>2007-01-02 21:29:07 +0000
commit66ee105d8e970a3df6c13e26aa53dd87eafb86e9 (patch)
treed570516cf0c477f61fa2608a856c32c27a0adc76 /mk/internal
parent7fe68fff900a63221d40f54e95595592a20291d2 (diff)
downloadpkgsrc-66ee105d8e970a3df6c13e26aa53dd87eafb86e9.tar.gz
Moved the show-tools target to misc/show.mk.
Moved the changes-entry target to misc/developer.mk. To save some time, that file is only included when PKG_DEVELOPER is defined. Moved the build-defs-message target to misc/show.mk and renamed it to show-build-defs, since almost all other *-message targets just print a single line.
Diffstat (limited to 'mk/internal')
-rw-r--r--mk/internal/build-defs-message.mk52
1 files changed, 0 insertions, 52 deletions
diff --git a/mk/internal/build-defs-message.mk b/mk/internal/build-defs-message.mk
deleted file mode 100644
index 9ddc1c875a6..00000000000
--- a/mk/internal/build-defs-message.mk
+++ /dev/null
@@ -1,52 +0,0 @@
-# $NetBSD: build-defs-message.mk,v 1.2 2006/11/04 21:54:26 rillig Exp $
-#
-
-# The build-defs-message target shows the variables that can be configured
-# by the pkgsrc user in mk.conf.
-#
-
-BUILD_DEFS?= # none
-BUILD_DEFS_EFFECTS?= # none
-
-.if !empty(PKGSRC_SHOW_BUILD_DEFS:M[yY][eE][sS]) && !exists(${WRKDIR}/.bdm_done)
-pre-depends-hook: build-defs-message
-.endif
-
-.PHONY: build-defs-message
-build-defs-message:
-build-defs-message: ${WRKDIR}
-.if !empty(BUILD_DEFS:M*)
- @${ECHO} "=========================================================================="
- @${ECHO} "The following variables will affect the build process of this package,"
- @${ECHO} "${PKGNAME}. Their current value is shown below:"
- @${ECHO} ""
-. for var in ${BUILD_DEFS:O}
-. if !defined(${var})
- @${ECHO} " * ${var} (not defined)"
-. elif defined(${var}) && empty(${var})
- @${ECHO} " * ${var} (defined)"
-. else
- @${ECHO} " * ${var} = ${${var}}"
-. endif
-. endfor
-. if !empty(BUILD_DEFS_EFFECTS:M*)
- @${ECHO} ""
- @${ECHO} "Based on these variables, the following variables have been set:"
- @${ECHO} ""
-. endif
-. for v in ${BUILD_DEFS_EFFECTS}
-. if !defined(${v})
- @${ECHO} " * ${v} (not defined)"
-. elif defined(${v}) && empty(${v})
- @${ECHO} " * ${v} (defined, but empty)"
-. else
- @${ECHO} " * ${v} = "${${v}:Q}""
-. endif
-. endfor
- @${ECHO} ""
- @${ECHO} "You may want to abort the process now with CTRL-C and change their value"
- @${ECHO} "before continuing. Be sure to run \`${MAKE} clean' after"
- @${ECHO} "the changes."
- @${ECHO} "=========================================================================="
- @${TOUCH} ${WRKDIR}/.bdm_done
-.endif