summaryrefslogtreecommitdiff
path: root/mail/mailagent
diff options
context:
space:
mode:
authorsalo <salo@pkgsrc.org>2003-11-23 07:41:19 +0000
committersalo <salo@pkgsrc.org>2003-11-23 07:41:19 +0000
commit405d1b37f5c6fbe58de94b3c0f3df15d4137024a (patch)
tree8d0987ef51f543872d2deb249a144c41b34c40e2 /mail/mailagent
parentb0727d41d290e22e8fe3d6b8973ad2260a8f36c7 (diff)
downloadpkgsrc-405d1b37f5c6fbe58de94b3c0f3df15d4137024a.tar.gz
dirname -> ${DIRNAME}, id -> ${ID}
From Soren Jacobsen via PR pkg/23542.
Diffstat (limited to 'mail/mailagent')
-rw-r--r--mail/mailagent/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/mail/mailagent/Makefile b/mail/mailagent/Makefile
index d0ca4f562b9..701320f1b0d 100644
--- a/mail/mailagent/Makefile
+++ b/mail/mailagent/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2002/07/02 11:37:33 agc Exp $
+# $NetBSD: Makefile,v 1.10 2003/11/23 07:41:19 salo Exp $
# FreeBSD: ports/mail/mailagent/Makefile,v 1.28 1999/08/31 06:47:24 mharo Exp
#
@@ -21,7 +21,7 @@ CONFIGURE_ARGS= -dres \
-Dutmp='/var/run/utmp' \
-Dprefix='${PREFIX}' -Dmansrc='${PREFIX}/man/man1' \
-Dnotifypatches='false'
-MAKE_ENV= PATH=`dirname ${PERL5}`:${PATH}
+MAKE_ENV= PATH=`${DIRNAME} ${PERL5}`:${PATH}
INSTALL_TARGET= install install.man
pre-extract:
@@ -29,7 +29,7 @@ pre-extract:
${ECHO} "Please set umask to 022 before running make,"; \
${ECHO} "or mailagent will not build successfully."; \
${FALSE}; fi
- @if [ `id -u` = 0 ]; then \
+ @if [ `${ID} -u` = 0 ]; then \
${ECHO} "Do not build mailagent as root or it won't pass the sanity tests."; \
${FALSE}; fi