# $NetBSD: Makefile.common,v 1.13 2004/12/18 03:59:30 grant Exp $ GNU_CONFIGURE= yes CONFIGURE_ARGS+= --libexecdir=${LOCALBASE}/libexec \ --sysconfdir=${LOCALBASE}/etc \ --enable-apop=${QPOPPER_APOP_AUTH} \ --enable-popuid=${QPOPPER_USER} \ --enable-log-facility=LOG_${QPOPPER_FAC} \ --disable-update-abort --without-gdbm VERSION= 4.0.5 .include "../../mk/bsd.prefs.mk" .include "options.mk" QPOPPER_USER?= pop QPOPPER_GROUP?= mail QPOPPER_FAC?= LOCAL1 QPOPPER_APOP_AUTH?= ${PKG_SYSCONFDIR}/apop.auth DB_SUFFIX?= db .if defined(QPOPPER_SPOOL_DIR) CONFIGURE_ARGS+= --enable-spool-dir=${QPOPPER_SPOOL_DIR} .endif .if defined(KERBEROS) PKG_USE_KERBEROS= # defined CONFIGURE_ARGS+= --enable-kerberos .endif BUILD_DEFS+= QPOPPER_SERVERMODE USE_INET6 .if defined(QPOPPER_SERVERMODE) CONFIGURE_ARGS+= --enable-servermode .endif .if defined(QPOPPER_USE_DRAC) && !empty(QPOPPER_USE_DRAC:M[Yy][Ee][Ss]) .include "../../mail/drac/buildlink3.mk" CONFIGURE_ARGS+= --with-drac=${BUILDLINK_PREFIX.drac} .endif BUILD_DEFS+= QPOPPER_USE_DRAC LIBS+= ${LDFLAGS}