$NetBSD: patch-aq,v 1.2 2001/06/19 09:20:11 jlam Exp $ --- modules/pam_unix/Makefile.orig Sat Oct 21 14:28:23 2000 +++ modules/pam_unix/Makefile @@ -30,10 +30,10 @@ ######################################################################## CFLAGS += $(USE_CRACKLIB) $(USE_LCKPWDF) $(NEED_LCKPWDF) $(EXTRAS) -LDLIBS = $(EXTRALS) +LDLIBS = $(EXTRALS) -lcrypt ifdef USE_CRACKLIB -CRACKLIB = -lcrack +CRACKLIB = -R${PREFIX}/lib -L${BUILDLINK_DIR}/lib -lcrack endif