$NetBSD: patch-aa,v 1.2 2002/03/19 12:21:07 wiz Exp $

--- Makefile.in.orig	Fri Dec 21 15:12:43 2001
+++ Makefile.in
@@ -43,7 +43,7 @@
 
 
 # Compile defines
-DEFINES		= @defines@
+DEFINES		= '-DRGLIBDIR=\"${RGLIBDIR}\"' @defines@
 
 # Name of the compiler, plus any flags common to both compile
 # and link stages; also exported
@@ -197,3 +197,9 @@
 		chmod +x $(ROSEGARDEN)/scripts/make-structure.sh
 		$(ROSEGARDEN)/scripts/make-structure.sh $(ROSEGARDEN)
 
+prefix=@prefix@
+iBINDIR=${prefix}/bin
+iLIBDIR=${prefix}/lib
+RGLIBDIR=${iLIBDIR}/rosegarden
+install: do-install
+	(echo ${iBINDIR}; echo ${iLIBDIR})|/bin/sh do-install
