pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

fail-wrapper target



I beginning to wonder if the following target (in compiler.mk):

.PHONY: fail-wrapper
fail-wrapper: .USE
        ${_PKG_SILENT}${_PKG_DEBUG}${MKDIR} ${.TARGET:H}
${_PKG_SILENT}$ {_PKG_DEBUG} \ exec 1>$ {.TARGET}; \ ${ECHO} '#!'$ {TOOLS_SHELL:Q}; \ ${ECHO} 'wrapperlog="$${TOOLS_WRAPPER_LOG-'$ {_TOOLS_WRAP_LOG:Q}'}"'; \ ${ECHO} ${ECHO:Q} '"*** Please consider adding USE_LANGUAGES +='${.TARGET:T:S/-fail-wrapper//:Q}' to the package Makefile." >> $ $wrapperlog'; \ ${ECHO} ${ECHO:Q} '"*** Please consider adding USE_LANGUAGES +='${.TARGET:T:S/-fail-wrapper//:Q}' to the package Makefile." > $ {WARNING_DIR}/${.TARGET:T}'; \
        ${ECHO} 'exit 1'
        ${_PKG_SILENT}${_PKG_DEBUG}${CHMOD} +x ${.TARGET}


should only "echo" if PKGSRC_DEVELOPER is set.

Comments?

Please CC me.

Regards,
--
Rui Paulo





Home | Main Index | Thread Index | Old Index