pkgsrc/security/courier-authlib/Makefile.common
2016-02-26 09:41:05 +00:00

29 lines
807 B
Text

# $NetBSD: Makefile.common,v 1.15 2016/02/26 09:41:05 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
CONFIGURE_ARGS+= --with-mailuser=${COURIER_USER}
CONFIGURE_ARGS+= --with-mailgroup=${COURIER_GROUP}
CONFIGURE_ARGS.SunOS+= --with-waitfunc=wait3
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "OpenBSD"
BUILDLINK_DEPMETHOD.libiconv?= build
.include "../../converters/libiconv/buildlink3.mk"
.endif