a661ce60c0
Buildlink files: RECOMMENDED version changed to current version.
28 lines
806 B
Makefile
28 lines
806 B
Makefile
# $NetBSD: Makefile,v 1.4 2004/03/26 02:27:52 wiz Exp $
|
|
|
|
PKGNAME= ${DISTNAME:S/cyrus-sasl/cy-login/}
|
|
PKGREVISION= 1
|
|
COMMENT= Cyrus SASL LOGIN authentication plugin
|
|
SASL_PLUGIN= YES
|
|
|
|
.include "../cyrus-sasl/Makefile.common"
|
|
|
|
# We need to configure the PLAIN plugin as well since some of the important
|
|
# build variables for the LOGIN plugin are only set if PLAIN is configured.
|
|
#
|
|
CONFIGURE_ARGS+= --enable-login # LOGIN
|
|
CONFIGURE_ARGS+= --enable-plain # PLAIN
|
|
.if defined(USE_PAM)
|
|
. include "../../security/PAM/buildlink3.mk"
|
|
BUILD_DEFS+= USE_PAM
|
|
CONFIGURE_ARGS+= --with-pam=${BUILDLINK_PREFIX.pam}
|
|
.endif
|
|
|
|
BUILD_DIRS= ${WRKSRC}/plugins
|
|
ALL_TARGET= liblogin.la
|
|
|
|
do-install:
|
|
cd ${WRKSRC}/plugins && \
|
|
${LIBTOOL} --mode=install ${INSTALL_PROGRAM} liblogin.la ${PLUGINDIR}
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|