pkgsrc/mail/perdition/options.mk
tv 0f749260d5 Make "pam" an option as it is with many other pkgs; it is now off by
default.  This correctly fixes the PLIST problem with pam, and makes the
package more consistent with the rest of pkgsrc.
2006-03-04 16:06:29 +00:00

28 lines
681 B
Makefile

# $NetBSD: options.mk,v 1.2 2006/03/04 16:06:29 tv Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.perdition
PKG_SUPPORTED_OPTIONS= ssl pam
PKG_SUGGESTED_OPTIONS= ssl
.include "../../mk/bsd.options.mk"
###
### Build with PAM support.
###
.if !empty(PKG_OPTIONS:Mpam)
. include "../../mk/pam.buildlink3.mk"
PLIST_SUBST+= PERDITION_HAVE_PAM=
.else
# prevent recognition of PAM in the base system
CONFIGURE_ENV+= ac_cv_header_security_pam_appl_h=no
PLIST_SUBST+= PERDITION_HAVE_PAM="@comment "
.endif
###
### Build with OpenSSL as the underlying crypto library.
###
.if !empty(PKG_OPTIONS:Mssl)
. include "../../security/openssl/buildlink3.mk"
.else
CONFIGURE_ARGS+= --disable-ssl
.endif