summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/libpam/libpam/Makefile2
-rw-r--r--lib/libpam/modules/Makefile.inc2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/libpam/libpam/Makefile b/lib/libpam/libpam/Makefile
index e544dcc..8cd3095 100644
--- a/lib/libpam/libpam/Makefile
+++ b/lib/libpam/libpam/Makefile
@@ -30,7 +30,7 @@ PAMDIR= ${.CURDIR}/../../../contrib/libpam
LIB= pam
CFLAGS+= -I${PAMDIR}/libpam/include -I.
-CFLAGS+= -DDEFAULT_MODULE_PATH=\"${LIBDIR}/\"
+CFLAGS+= -DDEFAULT_MODULE_PATH=\"${SHLIBDIR}/\"
CFLAGS+= -DPAM_DYNAMIC
#CFLAGS+= -DPAM_STATIC
NOPROFILE= true
diff --git a/lib/libpam/modules/Makefile.inc b/lib/libpam/modules/Makefile.inc
index 16b4c5a..2e29371 100644
--- a/lib/libpam/modules/Makefile.inc
+++ b/lib/libpam/modules/Makefile.inc
@@ -24,5 +24,5 @@
#
# $FreeBSD$
-BINDIR= ${LIBDIR}
+BINDIR= ${SHLIBDIR}
BINMODE= ${LIBMODE}
OpenPOWER on IntegriCloud