pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mail/mailagent dirname -> ${DIRNAME}, id -> ${ID}



details:   https://anonhg.NetBSD.org/pkgsrc/rev/aba043b24f26
branches:  trunk
changeset: 463664:aba043b24f26
user:      salo <salo%pkgsrc.org@localhost>
date:      Sun Nov 23 07:41:19 2003 +0000

description:
dirname -> ${DIRNAME}, id -> ${ID}
>From Soren Jacobsen via PR pkg/23542.

diffstat:

 mail/mailagent/Makefile |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 159a02c895f7 -r aba043b24f26 mail/mailagent/Makefile
--- a/mail/mailagent/Makefile   Sun Nov 23 07:31:18 2003 +0000
+++ b/mail/mailagent/Makefile   Sun Nov 23 07:41:19 2003 +0000
@@ -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 @@
                        -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 @@
          ${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
 



Home | Main Index | Thread Index | Old Index