2012-03-09 16:15:30 +01:00
|
|
|
# $NetBSD: Makefile.common,v 1.13 2012/03/09 15:15:30 fhajny Exp $
|
2007-11-27 17:27:30 +01:00
|
|
|
#
|
2010-11-10 11:37:48 +01:00
|
|
|
# used by mail/courier-mta/Makefile.common
|
2005-02-10 04:21:30 +01:00
|
|
|
|
|
|
|
COURIER_USER?= courier
|
2005-02-18 23:12:43 +01:00
|
|
|
COURIER_GROUP?= mail
|
2010-11-10 11:37:48 +01:00
|
|
|
FILES_SUBST+= COURIER_USER=${COURIER_USER}
|
|
|
|
FILES_SUBST+= COURIER_GROUP=${COURIER_GROUP}
|
|
|
|
MESSAGE_SUBST+= COURIER_USER=${COURIER_USER}
|
|
|
|
MESSAGE_SUBST+= COURIER_GROUP=${COURIER_GROUP}
|
2005-02-10 04:21:30 +01:00
|
|
|
|
|
|
|
PKG_GROUPS= ${COURIER_GROUP}
|
2006-04-23 02:12:35 +02:00
|
|
|
PKG_USERS= ${COURIER_USER}:${COURIER_GROUP}
|
2005-02-10 04:21:30 +01:00
|
|
|
|
2007-07-04 22:54:31 +02:00
|
|
|
PKG_GROUPS_VARS+= COURIER_GROUP
|
|
|
|
PKG_USERS_VARS+= COURIER_USER
|
|
|
|
|
2005-02-10 04:21:30 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2010-11-10 11:37:48 +01:00
|
|
|
CONFIGURE_ARGS+= --with-mailuser=${COURIER_USER}
|
|
|
|
CONFIGURE_ARGS+= --with-mailgroup=${COURIER_GROUP}
|
2012-03-09 16:15:30 +01:00
|
|
|
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
|
|
|
.if ${OPSYS} == "SunOS"
|
|
|
|
CONFIGURE_ARGS+= --with-waitfunc=wait3
|
|
|
|
.endif
|