diff --git a/src/bin/psql/Makefile b/src/bin/psql/Makefile
index 5d632e4f37d862c7118cd58bbf49056b8efc68c9..dfb71658bc1f86fac2345692b594e2459c4fa797 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.5 1996/08/20 05:04:13 scrappy Exp $
+#    $Header: /cvsroot/pgsql/src/bin/psql/Makefile,v 1.6 1996/08/21 04:06:01 scrappy Exp $
 #
 #-------------------------------------------------------------------------
 
@@ -49,6 +49,10 @@ ifeq ($(USE_READLINE), true)
    else
    ifeq ($(PORTNAME), bsdi_2_1)
    LD_ADD += -ltermcap
+   else
+   ifeq ($(PORTNAME), BSD44_derived)
+   LD_ADD += -ltermcap
+   endif
    endif
    endif
    endif