diff options
author | Marc G. Fournier <scrappy@hub.org> | 1996-07-20 07:40:03 +0000 |
---|---|---|
committer | Marc G. Fournier <scrappy@hub.org> | 1996-07-20 07:40:03 +0000 |
commit | 5feb9dc9dfc56f440f68e7b2bc1229b25e133895 (patch) | |
tree | 9d245e5d4a2909d56b812b6678b8c848b8d61ba7 /src | |
parent | c777e8131ed08d6baccc402608a19d664561671a (diff) | |
download | postgresql-5feb9dc9dfc56f440f68e7b2bc1229b25e133895.tar.gz postgresql-5feb9dc9dfc56f440f68e7b2bc1229b25e133895.zip |
- extend conditional for use of -ltermcap in bsdi/bsdi_2_1 compiles
- submitted by: Bruce Momjian (root@candle.pha.pa.us)
Diffstat (limited to 'src')
-rw-r--r-- | src/bin/psql/Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/bin/psql/Makefile b/src/bin/psql/Makefile index 43e1ac14a46..b92f7d817ba 100644 --- a/src/bin/psql/Makefile +++ b/src/bin/psql/Makefile @@ -7,7 +7,7 @@ # # # IDENTIFICATION -# $Header: /cvsroot/pgsql/src/bin/psql/Makefile,v 1.2 1996/07/19 06:53:40 scrappy Exp $ +# $Header: /cvsroot/pgsql/src/bin/psql/Makefile,v 1.3 1996/07/20 07:40:03 scrappy Exp $ # #------------------------------------------------------------------------- @@ -29,7 +29,7 @@ ifeq ($(USE_READLINE), true) # uncomment this # CFLAGS += -DOLD_READLINE - LIBCURSES= -lcurses -ltermcap + LIBCURSES= -lcurses LD_ADD += -L$(READLINE_LIBDIR) -L$(HISTORY_LIBDIR) -lreadline -lhistory $(LIBCURSES) # use the following if your readline has no separate history lib # LD_ADD += -L$(READLINE_LIBDIR) -lreadline $(LIBCURSES) @@ -45,6 +45,12 @@ ifeq ($(USE_READLINE), true) endif ifeq ($(PORTNAME), next) LD_ADD += -ltermcap + ifeq ($(PORTNAME), bsdi) + LD_ADD += -ltermcap + ifeq ($(PORTNAME), bsdi_2_1) + LD_ADD += -ltermcap + endif + endif endif endif endif |