diff options
author | rillig <rillig@pkgsrc.org> | 2007-01-02 21:29:07 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2007-01-02 21:29:07 +0000 |
commit | 43908c44cca56bed0b7ed87b40a229fd90321771 (patch) | |
tree | d570516cf0c477f61fa2608a856c32c27a0adc76 /mk/internal | |
parent | b57f0d45fb836d211db389b7e4125d1097496cb6 (diff) | |
download | pkgsrc-43908c44cca56bed0b7ed87b40a229fd90321771.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.mk | 52 |
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 |