Subject: pkg/16957: Fixed misc/screen to use PKG_SYSCONFDIR
To: None <gnats-bugs@gnats.netbsd.org>
From: None <jmmv@hispabsd.org>
List: netbsd-bugs
Date: 05/22/2002 10:20:18
>Number:         16957
>Category:       pkg
>Synopsis:       Fixed misc/screen to use PKG_SYSCONFDIR
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed May 22 01:21:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Julio Merino
>Release:        NetBSD 1.5ZC
>Organization:
	
>Environment:
	
	
System: NetBSD darkstar.local 1.5ZC NetBSD 1.5ZC (DARKSTAR) #38: Sun May 19 20:12:17 CEST 2002 juli@darkstar.local:/home/pub/NetBSD/src/sys/arch/i386/compile/DARKSTAR i386
Architecture: i386
Machine: i386
>Description:
	The following patch fixes the package misc/screen to use the
	variable PKG_SYSCONFDIR for its configuration files. I've also
	added a MESSAGE file to notice the user about that.
>How-To-Repeat:
	
>Fix:
	Here is the patch and the MESSAGE file:


	START PATCH

Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/misc/screen/Makefile,v
retrieving revision 1.31
diff -u -u -r1.31 Makefile
--- Makefile	2002/05/21 17:57:03	1.31
+++ Makefile	2002/05/22 08:16:26
@@ -15,6 +15,8 @@
 USE_BUILDLINK_ONLY=	yes
 TEXINFO_OVERRIDE=	YES
 
+CONFIGURE_ARGS+=	--with-sys-screenrc=${PKG_SYSCONFDIR}/screenrc
+
 .include "../../mk/bsd.prefs.mk"
 .if (${OPSYS} == SunOS)
 PLIST_SRC=	${PKGDIR}/PLIST.SunOS


	START MESSAGE

======================================================================
$NetBSD$

You may want to create and edit the file:
     - ${PKG_SYSCONFDIR}/screenrc
to customize screen globally. An example configuration file has been
installed in:
     - ${PREFIX}/share/examples/screen/screenrc
 
======================================================================
>Release-Note:
>Audit-Trail:
>Unformatted: