summaryrefslogtreecommitdiff
path: root/mail/majordomo
diff options
context:
space:
mode:
authorjlam <jlam>2001-10-01 21:15:11 +0000
committerjlam <jlam>2001-10-01 21:15:11 +0000
commita5c7cf36dcb4f85a88734b17114448d8a466d84b (patch)
treea27147186ec30893b99dddec174d552f97e7a84e /mail/majordomo
parent596ac6ded33d70c1d111e2e61b84f39eed67ccaa (diff)
downloadpkgsrc-a5c7cf36dcb4f85a88734b17114448d8a466d84b.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/majordomo')
-rw-r--r--mail/majordomo/Makefile3
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.$$"; \