Subject: pkg/5173: xmmix things xmmix.hlp resides in /usr/lib/X11
To: None <>
From: Jaromir Dolecek <>
List: netbsd-bugs
Date: 03/18/1998 16:21:10
>Number:         5173
>Category:       pkg
>Synopsis:       xmmix things xmmix.hlp resides in /usr/lib/X11
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Mar 18 07:35:01 1998
>Originator:     Jaromir Dolecek
	ICS MU, Brno, Czech Republic
>Release:        <NetBSD-current source date>
System: NetBSD 1.3 NetBSD 1.3 (SARUMAN) #3: Wed Jan 21 13:29:49 MET 1998 i386

	Code in xmmix uses constant path for xmmix.hlp help file - which
	is /usr/lib/X11/xmmix.hlp. It's not however valid on most

	This can be changed by manual-editinf xmmix app-defaults, but
	it's unconvenient.
	compile & install xmmix pkg
	try Help->Man page
	This changes the path to ${PREFIX}/lib/X11/xmmix.hlp, which apperently
	is exactly the place where xmmix.hlp file is installed.

	Maybe some other stage should be used instead of post-patch
	(*-configure ?).

--- Makefile.orig	Wed Mar 18 13:18:31 1998
+++ Makefile	Wed Mar 18 16:11:25 1998
@@ -18,4 +18,10 @@
 CAT1=		xmmix.0
+	for file in ${WRKSRC}/ ${WRKSRC}/resource.h; do \
+		cp $$file $$file.orig; \
+	 	sed "s^/usr/lib/X11/xmmix.hlp^${PREFIX}/lib/X11/xmmix.hlp^" $$file.orig > $$file; \
+	done;\
 .include <>