aboutsummaryrefslogtreecommitdiff
path: root/bin/ed/Makefile
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>1994-10-29 10:13:34 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>1994-10-29 10:13:34 +0000
commite615020eae2901b17e71d6a0798bbc579a8f9ff2 (patch)
treefaa27e415815c8a385c5ff89f21c6bafd718684c /bin/ed/Makefile
parente68790c363a592509aa6aa2960448fdb6d6a7b3f (diff)
downloadsrc-e615020eae2901b17e71d6a0798bbc579a8f9ff2.tar.gz
src-e615020eae2901b17e71d6a0798bbc579a8f9ff2.zip
Don't check existence of -lcrypt to decide if DES is employed,
instead check that "NOCRYPT" isn't defined.
Notes
Notes: svn path=/head/; revision=3989
Diffstat (limited to 'bin/ed/Makefile')
-rw-r--r--bin/ed/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/ed/Makefile b/bin/ed/Makefile
index ab3e947f23d7..cacfc05d371d 100644
--- a/bin/ed/Makefile
+++ b/bin/ed/Makefile
@@ -1,11 +1,11 @@
-# $Id$
+# $Id: Makefile,v 1.8 1994/09/24 02:55:20 davidg Exp $
PROG= ed
SRCS= buf.c cbc.c glbl.c io.c main.c re.c sub.c undo.c
LINKS= ${BINDIR}/ed ${BINDIR}/red
MLINKS= ed.1 red.1
-.if exists(/usr/lib/libcrypt.a)
+.if !defined(NOCRYPT)
CFLAGS+=-DDES
LDADD+= -lcrypt
DPADD+= ${LIBCRYPT}