Skip to content

Commit

Permalink
add make.sh deps support for MacPorts
Browse files Browse the repository at this point in the history
  • Loading branch information
d99kris committed Mar 24, 2024
1 parent 680e453 commit 2a3f12e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
8 changes: 7 additions & 1 deletion make.sh
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,13 @@ if [[ "${DEPS}" == "1" ]]; then
exiterr "deps failed (unsupported linux distro ${NAME}), exiting."
fi
elif [ "${OS}" == "Darwin" ]; then
brew install openssl ncurses xapian sqlite libmagic ossp-uuid || exiterr "deps failed (${OS}), exiting."
if command -v brew &> /dev/null; then
HOMEBREW_NO_AUTO_UPDATE=1 brew install openssl ncurses xapian sqlite libmagic ossp-uuid || exiterr "deps failed (${OS} brew), exiting."
elif command -v port &> /dev/null; then
sudo port -N install openssl ncurses xapian-core sqlite3 libmagic ossp-uuid || exiterr "deps failed (${OS} port), exiting."
else
exiterr "deps failed (${OS} missing brew and port), exiting."
fi
else
exiterr "deps failed (unsupported os ${OS}), exiting."
fi
Expand Down
2 changes: 1 addition & 1 deletion src/nmail.1
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man.
.TH NMAIL "1" "March 2024" "nmail v4.54" "User Commands"
.TH NMAIL "1" "March 2024" "nmail v4.55" "User Commands"
.SH NAME
nmail \- ncurses mail
.SH SYNOPSIS
Expand Down
2 changes: 1 addition & 1 deletion src/version.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

#include "version.h"

#define NMAIL_VERSION "4.54"
#define NMAIL_VERSION "4.55"

std::string Version::GetBuildOs()
{
Expand Down

0 comments on commit 2a3f12e

Please sign in to comment.