1. Andrew Dunstan
  2. pgdevel

Commits

Marc Fournier  committed 5feb9dc

- extend conditional for use of -ltermcap in bsdi/bsdi_2_1 compiles

- submitted by: Bruce Momjian (root@candle.pha.pa.us)

  • Participants
  • Parent commits c777e81
  • Branches jsonformat

Comments (0)

Files changed (1)

File src/bin/psql/Makefile

View file
  • Ignore whitespace
 #
 #
 # 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 $
 #
 #-------------------------------------------------------------------------
 
 # 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)
    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