diff options
-rw-r--r-- | mail/imap-uw/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/mail/imap-uw/Makefile b/mail/imap-uw/Makefile index 710adda0483..071c7ceabd5 100644 --- a/mail/imap-uw/Makefile +++ b/mail/imap-uw/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.134 2011/01/30 01:33:44 markd Exp $ +# $NetBSD: Makefile,v 1.135 2012/03/20 16:34:32 dholland Exp $ # # ATTENTION: # The Kerberos support in this software is known to be problematic. If you @@ -69,6 +69,12 @@ BUILD_TARGET.OpenBSD= bso BUILD_TARGET.*= neb MESSAGE_SRC= ${PKGDIR}/MESSAGE +# XXX this is not the right approach - should either depend on pam or +# not, or make it an option. +.if ${OPSYS} == NetBSD && !exists(/usr/include/security/pam_appl.h) +.include "../../mk/pam.buildlink3.mk" +.endif + .include "options.mk" # The defaults for these values are set in pkgsrc/mk/defaults/mk.conf. |