pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/time/pcal Use :sh instead of != to define WWWSERVER to...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ad10048dde1e
branches:  trunk
changeset: 493186:ad10048dde1e
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Thu Apr 28 23:32:43 2005 +0000

description:
Use :sh instead of != to define WWWSERVER to defer evaluation until it's
used in the make targets.

diffstat:

 time/pcal/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r c249b589a286 -r ad10048dde1e time/pcal/Makefile
--- a/time/pcal/Makefile        Thu Apr 28 23:29:06 2005 +0000
+++ b/time/pcal/Makefile        Thu Apr 28 23:32:43 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2005/03/20 21:34:17 salo Exp $
+# $NetBSD: Makefile,v 1.8 2005/04/28 23:32:43 jlam Exp $
 #
 
 DISTNAME=      pcal-4.7
@@ -14,7 +14,7 @@
 
 HTDOCS=                ${PREFIX}/share/httpd/htdocs
 CGIBINDIR=     ${PREFIX}/libexec/cgi-bin
-WWWSERVER!=    hostname
+WWWSERVER=     ${HOSTNAME_CMD:sh}
 
 .include "../../mk/bsd.prefs.mk"       # for PAPERSIZE
 .include <bsd.sys.mk>                  # for CC and HOST_CC



Home | Main Index | Thread Index | Old Index