Subject: pkg/25111: IceWM help does not work
To: None <gnats-bugs@gnats.netbsd.org>
From: Iain Hibbert <plunky@rya-online.net>
List: pkgsrc-bugs
Date: 04/09/2004 10:50:33
>Number:         25111
>Category:       pkg
>Synopsis:       IceWM help function does not work
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Apr 09 09:54:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Iain Hibbert
>Release:        NetBSD 1.6.1  (but Mar 27 pkgsrc snapshot)
>Organization:
	
>Environment:
	
	
System: NetBSD galant 1.6.1 NetBSD 1.6.1 (GALANT) #7: Fri Feb 20 08:56:20 UTC 2004 plunky@galant:/usr/home/plunky/src/sys/arch/i386/compile/GALANT i386
Architecture: i386
Machine: i386
>Description:
	When IceWm builds, the help function doesnt work because its looking for the docfiles in 
	the wrong place due to the patch file using $(prefix) instead of $(PREFIX)
>How-To-Repeat:
	just build it and ask for help
>Fix:
	patch below in the wm/icewm/patches directory, dont forget to "make makepatchsum"

--- patch-ad.orig	Fri Apr  9 10:44:51 2004
+++ patch-ad	Thu Apr  8 00:38:44 2004
@@ -7,7 +7,7 @@
                  -DICEWMBGEXE='"icewmbg$(EXEEXT)"' \
                  -DICEHELPEXE='"icehelp$(EXEEXT)"' \
 -                -DICEHELPIDX='"$(DOCDIR)/icewm-$(VERSION)/icewm.html"'
-+		-DICEHELPIDX='"$(prefix)/share/doc/html/icewm/icewm.html"'
++		-DICEHELPIDX='"$(PREFIX)/share/doc/html/icewm/icewm.html"'
  
  CXXFLAGS =      @CXXFLAGS@ $(DEBUG) $(DEFS) \
  	        @CORE_CFLAGS@ @IMAGE_CFLAGS@ @AUDIO_CFLAGS@ # `fc-config --cflags`
>Release-Note:
>Audit-Trail:
>Unformatted: