diff --git a/usr.bin/Makefile b/usr.bin/Makefile index 648a42f600b4..a9f89e067344 100644 --- a/usr.bin/Makefile +++ b/usr.bin/Makefile @@ -22,7 +22,7 @@ SUBDIR= alias \ bzip2recover \ ${_c89} \ ${_c99} \ - calendar \ + ${_calendar} \ cap_mkdb \ catman \ chat \ @@ -246,6 +246,10 @@ _nsupdate= nsupdate _bluetooth= bluetooth .endif +.if !defined(NO_CALENDAR) +_calendar= calendar +.endif + .if !defined(NO_CRYPT) && !defined(NO_OPENSSL) _chkey= chkey _newkey= newkey