aboutsummaryrefslogtreecommitdiffstats
path: root/x11/wdm/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11/wdm/Makefile')
-rw-r--r--x11/wdm/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/x11/wdm/Makefile b/x11/wdm/Makefile
index 871406e42338..73ccfb056562 100644
--- a/x11/wdm/Makefile
+++ b/x11/wdm/Makefile
@@ -35,6 +35,16 @@ MAN1= wdm.1 wdmLogin.1
DAEMONPIC= daemon1-HQ-1280x960.jpg
+.if defined(USE_PAM)
+CONFIGURE_ARGS+= --enable-pam
+LIBPAM= -lpam
+.endif
+
+pre-fetch:
+.if !defined(USE_PAM)
+ @${ECHO_MSG} "To build this port with PAM support, define \"USE_PAM\"."
+.endif
+
post-extract:
@${CP} ${FILESDIR}/*.patch ${WRKSRC}/patches