From b10fc2ddef88c0eec50b0147aec00558ed0d5252 Mon Sep 17 00:00:00 2001 From: Bruce Evans Date: Sat, 12 Aug 2000 20:54:47 +0000 Subject: [PATCH] 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. --- usr.bin/keyinfo/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/usr.bin/keyinfo/Makefile b/usr.bin/keyinfo/Makefile index dfe130c0fd8..140abfe2796 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