summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2000-08-12 20:54:47 +0000
committerbde <bde@FreeBSD.org>2000-08-12 20:54:47 +0000
commitba51ed6068846f911c7d4d26c659eba074c55c2d (patch)
treea73137ab8ba50b1198c175d730f24abc2f5eb1ab
parent200a52ad9383d401e4a5097e80501b6d8f18dfd4 (diff)
downloadFreeBSD-src-ba51ed6068846f911c7d4d26c659eba074c55c2d.zip
FreeBSD-src-ba51ed6068846f911c7d4d26c659eba074c55c2d.tar.gz
Fixed world breakage for the NOSHARED=yes case. Libraries were added to
LDFLAGS instead of to LDADD, so they ended up too early in the command line. Don't link to libcrypt. It is unused for static linkage and unnecessary and only apparently used for dynamic linkage (the dynamic libskey is linked to libcrypt to support the crypt parts of libskey which aren't used here). Fixed some disorder.
-rw-r--r--usr.bin/keyinfo/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/keyinfo/Makefile b/usr.bin/keyinfo/Makefile
index dfe130c..140abfe 100644
--- a/usr.bin/keyinfo/Makefile
+++ b/usr.bin/keyinfo/Makefile
@@ -1,10 +1,10 @@
# @(#)Makefile 5.5 (Berkeley) 7/1/90
# $FreeBSD$
-BINMODE=4555
PROG= keyinfo
-LDFLAGS=-lskey -lcrypt -lmd
-DPADD= ${LIBSKEY} ${LIBCRYPT} ${LIBMD}
CFLAGS+=-Wall
+DPADD= ${LIBSKEY} ${LIBMD}
+LDADD= -lskey -lmd
+BINMODE=4555
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud