diff options
author | ngie <ngie@FreeBSD.org> | 2017-01-16 07:17:43 +0000 |
---|---|---|
committer | ngie <ngie@FreeBSD.org> | 2017-01-16 07:17:43 +0000 |
commit | dca1b4dcccc559a6df863f3c94d9df8f5cbc8f19 (patch) | |
tree | fa8ea59d2632a3b5fc7d5b37e6bc2ba17dace090 /share | |
parent | 1d657beac55a7b66eee646d47b4304b90a6f745a (diff) | |
download | FreeBSD-src-dca1b4dcccc559a6df863f3c94d9df8f5cbc8f19.zip FreeBSD-src-dca1b4dcccc559a6df863f3c94d9df8f5cbc8f19.tar.gz |
MFC r312009:
Add license preamble for r286964; credit to asomers
While here, clean up trailing whitespace
Diffstat (limited to 'share')
-rw-r--r-- | share/mk/bsd.own.mk | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/share/mk/bsd.own.mk b/share/mk/bsd.own.mk index 6f0fd3e..0d21cb3 100644 --- a/share/mk/bsd.own.mk +++ b/share/mk/bsd.own.mk @@ -602,6 +602,24 @@ MK_TESTS:= no # # +# MK_* options whose default value depends on another option. +# +.for vv in \ + GSSAPI/KERBEROS \ + MAN_UTILS/MAN +.if defined(WITH_${vv:H}) && defined(WITHOUT_${vv:H}) +.error WITH_${vv:H} and WITHOUT_${vv:H} can't both be set. +.endif +.if defined(WITH_${vv:H}) +MK_${vv:H}:= yes +.elif defined(WITHOUT_${vv:H}) +MK_${vv:H}:= no +.else +MK_${vv:H}:= ${MK_${vv:T}} +.endif +.endfor + +# # MK_*_SUPPORT options which default to "yes" unless their corresponding # MK_* variable is set to "no". # @@ -627,24 +645,6 @@ MK_${var}_SUPPORT:= yes .endfor # -# MK_* options whose default value depends on another option. -# -.for vv in \ - GSSAPI/KERBEROS \ - MAN_UTILS/MAN -.if defined(WITH_${vv:H}) && defined(WITHOUT_${vv:H}) -.error WITH_${vv:H} and WITHOUT_${vv:H} can't both be set. -.endif -.if defined(WITH_${vv:H}) -MK_${vv:H}:= yes -.elif defined(WITHOUT_${vv:H}) -MK_${vv:H}:= no -.else -MK_${vv:H}:= ${MK_${vv:T}} -.endif -.endfor - -# # MK_* options that default to "yes" if the compiler is a C++11 compiler. # .include <bsd.compiler.mk> |