summaryrefslogtreecommitdiff
path: root/audio/rosegarden/patches/patch-aa
blob: 15b14b806955deed34611c1b3ef770af2b5023bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
$NetBSD: patch-aa,v 1.3 2022/01/01 09:20:41 dholland Exp $

Configure for pkgsrc.
Make the install rule do something useful.

--- 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