summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authornate <nate@FreeBSD.org>1993-07-20 22:57:03 +0000
committernate <nate@FreeBSD.org>1993-07-20 22:57:03 +0000
commit170ec22c9a8a1ae2071ac55773410e16098f41a4 (patch)
treea9827a2887f927db340673fc8acf5219b2fcb6ba /bin
parent7297bf31c894746b88f8edc4d64b09dbb72df18e (diff)
downloadFreeBSD-src-170ec22c9a8a1ae2071ac55773410e16098f41a4.zip
FreeBSD-src-170ec22c9a8a1ae2071ac55773410e16098f41a4.tar.gz
Libcrypt upgrade
Diffstat (limited to 'bin')
-rw-r--r--bin/ed/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/bin/ed/Makefile b/bin/ed/Makefile
index a48b0d2..7702004 100644
--- a/bin/ed/Makefile
+++ b/bin/ed/Makefile
@@ -1,7 +1,14 @@
PROG= ed
-CFLAGS+=-I${.CURDIR} -DVI_BANG -DDES -DGNU_REGEX -DHAVE_STRING_H=1
+CFLAGS+=-I${.CURDIR} -DVI_BANG -DGNU_REGEX -DHAVE_STRING_H=1
SRCS= ed.c re.c buf.c cbc.c regex.c
LINKS= ${BINDIR}/ed ${BINDIR}/red
MLINKS= ed.1 red.1
+.if exists(/usr/lib/libcrypt.a)
+CFLAGS+=-DDES
+DPADD+= ${LIBCRYPT}
+LDADD+= -lcrypt
+.endif
+
+
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud