Skip to content

Commit

Permalink
Makefile.defs: set localbase for macports on macos
Browse files Browse the repository at this point in the history
(cherry picked from commit 584eabf)
  • Loading branch information
miconda committed Jan 26, 2022
1 parent 254d19b commit a18374d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Makefile.defs
Expand Up @@ -522,7 +522,12 @@ ifeq ($(OS), darwin)
doc_dir = share/doc/$(MAIN_NAME)/
man_dir = man/
data_dir = share/$(MAIN_NAME)/
MACPORTS = $(shell which port 2>/dev/null)
ifeq ($(MACPORTS),)
LOCALBASE ?= /usr/local
else
LOCALBASE ?= /opt/local
endif
endif

LOCALBASE ?= /usr/local
Expand Down

0 comments on commit a18374d

Please sign in to comment.