diff options
author | jlam <jlam> | 2001-10-01 21:15:11 +0000 |
---|---|---|
committer | jlam <jlam> | 2001-10-01 21:15:11 +0000 |
commit | 189c623f541b260679935dac9b972e186cf36645 (patch) | |
tree | a27147186ec30893b99dddec174d552f97e7a84e /mail | |
parent | 296b2882bddf389e76b18ec345cb535b84c7a071 (diff) | |
download | pkgsrc-189c623f541b260679935dac9b972e186cf36645.tar.gz |
Allow customizing the message for _SU_TARGET by substituting for "$action",
where action can be "install", "package", "create user for", etc., instead
of blindly always saying "install". Define "action" before calling
${_SU_TARGET} whereever it is used.
Diffstat (limited to 'mail')
-rw-r--r-- | mail/majordomo/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mail/majordomo/Makefile b/mail/majordomo/Makefile index 66a7f8c10bf..6a3f3396335 100644 --- a/mail/majordomo/Makefile +++ b/mail/majordomo/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.15 2001/09/12 11:05:12 agc Exp $ +# $NetBSD: Makefile,v 1.16 2001/10/01 21:15:12 jlam Exp $ DISTNAME= majordomo-1.94.5 CATEGORIES= mail @@ -64,6 +64,7 @@ require-uid: if ! ${CHGRP} ${MAJORDOMO_GROUP} \ "/tmp/grouptestmajordomo1.$$" >/dev/null 2>&1; then \ realtarget="root-require-uid"; \ + action="create user for"; \ ${_SU_TARGET}; \ fi; \ ${RM} -f "/tmp/grouptestmajordomo1.$$"; \ |