From f6d8f5bcbb4f412974c4ca5cdf35cdad0c14a273 Mon Sep 17 00:00:00 2001 From: Matthew Dillon Date: Thu, 3 Nov 2016 23:32:24 -0700 Subject: [PATCH] build - Fix bootstrap build for csh * Fix the bootstrap portion of the buildworld for csh on systems which are updated past the termcap library rename but do not yet have libprivate_crypto. --- bin/csh/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/bin/csh/Makefile b/bin/csh/Makefile index 0fd342b5a9..6863fddf80 100644 --- a/bin/csh/Makefile +++ b/bin/csh/Makefile @@ -41,9 +41,15 @@ MLINKS= csh.1 tcsh.1 DPADD= /usr/lib/libtermcap.a ${LIBCRYPT} LDADD= -ltermcap -lcrypt . else +. if exists(/usr/lib/priv/libprivate_crypto.a) DPADD= ${LIBNCURSES} ${LIBCRYPT} ${LIBRECRYPTO} LDADD= -lprivate_ncurses -lcrypt -lprivate_crypto LDFLAGS+= -rpath /lib/priv -L /usr/lib/priv +. else +DPADD= ${LIBNCURSES} ${LIBCRYPT} ${LIBRECRYPTO} +LDADD= -lprivate_ncurses -lcrypt -lcrypto +LDFLAGS+= -rpath /lib/priv -L /usr/lib/priv +. endif . endif .else DPADD= ${LIBNCURSES} ${LIBCRYPT} ${LIBRECRYPTO} -- 2.11.4.GIT