pkgsrc/security/courier-authlib/Makefile.common
jperkin fbaa663eac courier-authlib: Add missing bsd.prefs.mk include.
Required before testing PKGPATH, though the use of various PKGPATH tests
across the courier packages are pretty terrible and should be re-thought.

Fixes bulk builds.
2020-05-25 19:28:39 +00:00

27 lines
728 B
Makefile

# $NetBSD: Makefile.common,v 1.18 2020/05/25 19:28:39 jperkin Exp $
#
# used by mail/courier-mta/Makefile.common
COURIER_USER?= courier
COURIER_GROUP?= mail
FILES_SUBST+= COURIER_USER=${COURIER_USER}
FILES_SUBST+= COURIER_GROUP=${COURIER_GROUP}
MESSAGE_SUBST+= COURIER_USER=${COURIER_USER}
MESSAGE_SUBST+= COURIER_GROUP=${COURIER_GROUP}
PKG_GROUPS= ${COURIER_GROUP}
PKG_USERS= ${COURIER_USER}:${COURIER_GROUP}
PKG_GROUPS_VARS+= COURIER_GROUP
PKG_USERS_VARS+= COURIER_USER
GNU_CONFIGURE= yes
.include "../../mk/bsd.prefs.mk"
.if ${PKGPATH} != mail/courier-imap
CONFIGURE_ARGS+= --with-mailuser=${COURIER_USER}
CONFIGURE_ARGS+= --with-mailgroup=${COURIER_GROUP}
.endif
CONFIGURE_ARGS.SunOS+= --with-waitfunc=wait3