$NetBSD: patch-aa,v 1.2 2006/01/02 22:13:26 joerg Exp $

--- Imakefile.orig	2005-05-09 12:46:24.000000000 +0000
+++ Imakefile
@@ -28,7 +28,7 @@ XCOMM (the library must conform to the P
 XCOMM To omit sound support, uncomment this
 XCOMM NO_SOUND_SUPPORT = -DNO_SOUND_SUPPORT
 XCOMM and comment these
-SOUNDLIB = -L/usr/local/lib -lrplay
+SOUNDLIB = -L${PREFIX}/lib ${COMPILER_RPATH_FLAG}${PREFIX}/lib -lrplay
 SOUNDINC = -I/usr/local/include
 XCOMM (sound is supported only by way of the rplay library)
 
@@ -57,7 +57,7 @@ XCOMM Installation path for the binary
        VTWMBINDIR = $(BINDIR)
 
 XCOMM Installation path for the system resource file
-       VTWMLIBDIR = $(LIBDIR)/twm
+       VTWMLIBDIR = $(LIBDIR)/vtwm
 
 XCOMM Installation path for the man page
        VTWMMANDIR = $(MANDIR)
