Subject: pkg/24233: no variable substitution in net/nam/MESSAGE
To: None <gnats-bugs@gnats.NetBSD.org>
From: Min Sik Kim <minskim@bawi.org>
List: netbsd-bugs
Date: 01/25/2004 00:49:42
>Number:         24233
>Category:       pkg
>Synopsis:       no variable substitution in net/nam/MESSAGE
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jan 25 06:50:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Min Sik Kim
>Release:        NetBSD 1.6ZH
>Organization:
>Environment:
>Description:
net/nam/MESSAGE has '${HOMEPAGE}', which is not substituted.

>How-To-Repeat:
Install net/nam and see the message displayed.

>Fix:

Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/net/nam/Makefile,v
retrieving revision 1.8
diff -u -r1.8 Makefile
--- Makefile	2004/01/20 12:22:20	1.8
+++ Makefile	2004/01/25 06:47:25
@@ -21,6 +21,8 @@
 CONFIGURE_ARGS+=	--with-tk=${BUILDLINK_PREFIX.tk}
 CONFIGURE_ARGS+=	--with-tclcl=${BUILDLINK_PREFIX.tcl-tclcl}
 
+MESSAGE_SUBST+=		HOMEPAGE=${HOMEPAGE}
+
 post-install:
 	${INSTALL_MAN_DIR} ${PREFIX}/man/man1
 	${INSTALL_MAN} ${WRKSRC}/nam.1 ${PREFIX}/man/man1
>Release-Note:
>Audit-Trail:
>Unformatted:
 Environment:
 System: NetBSD sulley.infnis.com 1.6ZH NetBSD 1.6ZH (SULLEY) #3: Fri Jan 16 16:57:45 CST 2004 root@sulley.infnis.com:/usr/obj/sys/arch/i386/compile/SULLEY i386
 Architecture: i386
 Machine: i386