diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-06-14 06:56:16 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-06-14 06:56:16 +0000 |
commit | 632f0ed926512bfd3636c1b844e5679260d65a86 (patch) | |
tree | e6fd1e6ddbe79be0135ac2279ccf5e38a45350fc /Mk/bsd.pkgng.mk | |
parent | Fix pkg-plist. (diff) |
Yes more simplification in showconfig, pretty-print-config and pkgng manifest generation
Notes
Notes:
svn path=/head/; revision=320886
Diffstat (limited to 'Mk/bsd.pkgng.mk')
-rw-r--r-- | Mk/bsd.pkgng.mk | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/Mk/bsd.pkgng.mk b/Mk/bsd.pkgng.mk index 6f68ae37eda6..f4e209615d72 100644 --- a/Mk/bsd.pkgng.mk +++ b/Mk/bsd.pkgng.mk @@ -83,11 +83,7 @@ fake-pkg: @${ECHO_CMD} "]" >> ${MANIFESTF} @${ECHO_CMD} -n "options: {" >> ${MANIFESTF} .for opt in ${COMPLETE_OPTIONS_LIST} -.if empty(PORT_OPTIONS:M${opt}) - @${ECHO_CMD} -n "${opt}: off," >> ${MANIFESTF} -.else - @${ECHO_CMD} -n "${opt}: on," >> ${MANIFESTF} -.endif + @[ -z "${PORT_OPTIONS:M${opt}}" ] || match="on" ; ${ECHO_MSG} -n " ${opt}: $${match:-off}," >> ${MANIFESTF} .endfor .undef opt @${ECHO_CMD} "}" >> ${MANIFESTF} |