summaryrefslogtreecommitdiff
path: root/audio/rosegarden/patches/patch-aa
blob: 51bbbf4eab83d838c3f6ce616184a6777cc289e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
$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