Subject: pkg/5173: xmmix things xmmix.hlp resides in /usr/lib/X11
To: None <gnats-bugs@gnats.netbsd.org>
From: Jaromir Dolecek <dolecek@ics.muni.cz>
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
>Last-Modified:
>Originator: Jaromir Dolecek
>Organization:
ICS MU, Brno, Czech Republic
>Release: <NetBSD-current source date>
>Environment:
System: NetBSD saruman.ics.muni.cz 1.3 NetBSD 1.3 (SARUMAN) #3: Wed Jan 21 13:29:49 MET 1998 dolecek@saruman.ics.muni.cz:/usr/home/dolecek/N13/usr/src/sys/arch/i386/compile/SARUMAN i386
>Description:
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
installations.
This can be changed by manual-editinf xmmix app-defaults, but
it's unconvenient.
>How-To-Repeat:
compile & install xmmix pkg
try Help->Man page
>Fix:
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
+post-patch:
+ for file in ${WRKSRC}/XMmix.ad ${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 <bsd.port.mk>
>Audit-Trail:
>Unformatted: