mirror of
https://github.com/lcn2/calc.git
synced 2025-08-19 01:13:27 +03:00
prep CHANGES for the next release of calc
Change Makefile.config to, if not using not HomeBrew, then try to detect macports and/or using /opt/local/{lib,include}. Changed version from 2.15.1.0 to 2.15.1.1. Put full date range (1989-2025) of calc source into version.h.
This commit is contained in:
@@ -1112,6 +1112,9 @@ READLINE_EXTRAS= -lhistory -lncurses
|
||||
#READLINE_LIB= -L${PREFIX}/lib -lreadline
|
||||
#READLINE_EXTRAS= -lhistory -lncurses
|
||||
#
|
||||
#READLINE_LIB= -L/opt/local/lib -lreadline
|
||||
#READLINE_EXTRAS= -lhistory -lncurses
|
||||
#
|
||||
# For Apple OS X: install fink from http://fink.sourceforge.net
|
||||
# and then do a 'fink install readline' and then use:
|
||||
#
|
||||
@@ -1130,6 +1133,7 @@ READLINE_EXTRAS= -lhistory -lncurses
|
||||
READLINE_INCLUDE=
|
||||
#READLINE_INCLUDE= -I/usr/gnu/include
|
||||
#READLINE_INCLUDE= -I${PREFIX}/include
|
||||
#READLINE_INCLUDE= -I/opt/local/include
|
||||
|
||||
# Handle the case where macOS is being used with HomeBrew
|
||||
# # and using the readline, history, and ncurses libraries.
|
||||
@@ -1137,6 +1141,16 @@ READLINE_INCLUDE=
|
||||
ifneq ($(HOMEBREW_PREFIX),)
|
||||
READLINE_LIB:= -L${HOMEBREW_PREFIX}/opt/readline/lib -lreadline
|
||||
READLINE_INCLUDE:= -I${HOMEBREW_PREFIX}/opt/readline/include
|
||||
|
||||
# If not HomeBrew, then try to detect macports and/or using /opt/local/{lib,include}
|
||||
#
|
||||
else # perhaps macports and/or using /opt/local/{lib,include} ?
|
||||
ifneq ($(wildcard /opt/local/lib/*),)
|
||||
READLINE_LIB:= -L/opt/local/lib -lreadline
|
||||
endif
|
||||
ifneq ($(wildcard /opt/local/incliude/*),)
|
||||
READLINE_INCLUDE:= -I/opt/local/include
|
||||
endif
|
||||
endif # ($(HOMEBREW_PREFIX),)
|
||||
|
||||
# If $PAGER is not set, use this program to display a help file
|
||||
|
Reference in New Issue
Block a user