$NetBSD: patch-ah,v 1.2 2001/06/19 09:20:11 jlam Exp $ --- modules/pam_cracklib/Makefile.orig Sat Oct 9 07:07:02 1999 +++ modules/pam_cracklib/Makefile @@ -22,11 +22,11 @@ ifeq ($(HAVE_CRACKLIB),yes) TITLE=pam_cracklib -CRACKLIB=-lcrack +CRACKLIB=-R${PREFIX}/lib -L${BUILDLINK_DIR}/lib -lcrack ifeq ($(shell if [ -f /usr/lib/cracklib_dict.hwm ]; then echo yes ; fi),yes) CRACKLIB_DICTPATH=/usr/lib/cracklib_dict else - CRACKLIB_DICTPATH=/usr/share/dict/cracklib_dict + CRACKLIB_DICTPATH=${PREFIX}/libdata/pw_dict endif # ifeq ($(shell if [ -f /usr/include/crypt.h ]; then echo yes ; fi),yes)