summaryrefslogtreecommitdiff
path: root/security/PAM/patches/patch-ah
blob: 2afbe5b6d0118f28269dc357750ddd60d93e8b3c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
$NetBSD: patch-ah,v 1.1.1.1 2000/10/21 18:41:54 rh 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${PREFIX}/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)