version 1.9.4.2, 2004/11/28 20:11:32 |
version 1.9.4.3, 2004/12/09 17:15:01 |
Line 176 _PKG_OPTIONS_WORDWRAP_FILTER= \ |
|
Line 176 _PKG_OPTIONS_WORDWRAP_FILTER= \ |
|
END { if (length(line) > 0) print " "line } \ |
END { if (length(line) > 0) print " "line } \ |
' |
' |
|
|
# Store the result in the +BUILD_INFO file so we can query for the build |
.if !defined(_PKG_OPTIONS_AVAILABLE) && defined(PKG_SUPPORTED_OPTIONS) && !empty(PKG_SUPPORTED_OPTIONS) |
# options using "pkg_info -Q PKG_OPTIONS <pkg>". |
_PKG_OPTIONS_AVAILABLE!= ${ECHO} ${PKG_SUPPORTED_OPTIONS} | ${XARGS} -n 1 | ${SORT} |
BUILD_DEFS_FIXED+= PKG_OPTIONS |
.endif |
|
.if !defined(_PKG_OPTIONS_DEFAULT) && defined(PKG_DEFAULT_OPTIONS) && !empty(PKG_DEFAULT_OPTIONS) |
|
_PKG_OPTIONS_DEFAULT!= ${ECHO} ${PKG_DEFAULT_OPTIONS} | ${XARGS} -n 1 | ${SORT} |
|
.endif |
|
.if !defined(_PKG_OPTIONS_ENABLED) && defined(PKG_OPTIONS) && !empty(PKG_OPTIONS) |
|
_PKG_OPTIONS_ENABLED!= ${ECHO} ${PKG_OPTIONS} | ${XARGS} -n 1 | ${SORT} |
|
.endif |
|
|
|
.PHONY: show-options |
|
show-options: |
|
@${ECHO} "available: ${_PKG_OPTIONS_AVAILABLE}" |
|
@${ECHO} "default: ${_PKG_OPTIONS_DEFAULT}" |
|
@${ECHO} "enabled: ${_PKG_OPTIONS_ENABLED}" |
|
|
.if defined(PKG_SUPPORTED_OPTIONS) |
.if defined(PKG_SUPPORTED_OPTIONS) |
.PHONY: supported-options-message |
.PHONY: supported-options-message |