summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1994-10-29 10:13:34 +0000
committerphk <phk@FreeBSD.org>1994-10-29 10:13:34 +0000
commit351aa878aacf55cae042fa272c85dd42ebb406ce (patch)
treefaa27e415815c8a385c5ff89f21c6bafd718684c
parent74265c3dfa3fba1caf953c4f47aea3b33e2a0e59 (diff)
downloadFreeBSD-src-351aa878aacf55cae042fa272c85dd42ebb406ce.zip
FreeBSD-src-351aa878aacf55cae042fa272c85dd42ebb406ce.tar.gz
Don't check existence of -lcrypt to decide if DES is employed,
instead check that "NOCRYPT" isn't defined.
-rw-r--r--bin/ed/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/ed/Makefile b/bin/ed/Makefile
index ab3e947..cacfc05 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}
OpenPOWER on IntegriCloud