aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/libopie/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libopie/Makefile b/lib/libopie/Makefile
index f9bb26321527..313936840868 100644
--- a/lib/libopie/Makefile
+++ b/lib/libopie/Makefile
@@ -25,7 +25,8 @@ CFLAGS+=-I${.CURDIR} -I${OPIE_DIST} -I${DIST_DIR} \
-DKEY_FILE=${KEYFILE}
.if defined(WANT_INSECURE_OPIE) && ${WANT_INSECURE_OPIE} == true
-CFLAGS+=-DINSECURE_OVERRIDE
+ACCESSFILE?= \"/etc/opieaccess\"
+CFLAGS+= -DINSECURE_OVERRIDE -DPATH_ACCESS_FILE=${ACCESSFILE}
.endif
LDADD+= -lmd