From af57dab76de8d70122ffd6e40b046a96179afd29 Mon Sep 17 00:00:00 2001 From: Matthew Seaman Date: Mon, 18 Apr 2016 06:43:12 +0000 Subject: Make the path to find cracklib dictionaries match what crackib uses nowadays. PR: 208881 Submitted by: freebsd@skinc.ru --- security/apg/files/patch-Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'security/apg') diff --git a/security/apg/files/patch-Makefile b/security/apg/files/patch-Makefile index c10419e6966f..20b86592d864 100644 --- a/security/apg/files/patch-Makefile +++ b/security/apg/files/patch-Makefile @@ -9,7 +9,7 @@ -#CLISERV_OPTIONS += -DAPG_USE_CRACKLIB '-DCRACKLIB_DICTPATH=${CRACKLIB_DICTPATH}' -I/usr/local/include -L/usr/local/lib -#APG_CLIBS += -lcrack +.if defined(WITH_CRACKLIB) -+CRACKLIB_DICTPATH = "${LOCALBASE}/libdata/cracklib/pw_dict" ++CRACKLIB_DICTPATH = "${LOCALBASE}/libdata/cracklib/cracklib-words" +STANDALONE_OPTIONS += -DAPG_USE_CRACKLIB '-DCRACKLIB_DICTPATH=${CRACKLIB_DICTPATH}' -I${LOCALBASE}/include -L${LOCALBASE}/lib +CLISERV_OPTIONS += -DAPG_USE_CRACKLIB '-DCRACKLIB_DICTPATH=${CRACKLIB_DICTPATH}' -I${LOCALBASE}/include -L${LOCALBASE}/lib +APG_CLIBS += -lcrack -- cgit v1.2.3