File: 07-src-maxwell-Makefile.in.patch

package info (click to toggle)
mpb 1.12.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,040 kB
  • sloc: ansic: 13,389; javascript: 9,901; makefile: 214; lisp: 44; sh: 4
file content (19 lines) | stat: -rw-r--r-- 483 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Author: Thorsten Alteholz <debian@alteholz.de>
Description: handle srcdir and top_srcdir
--- mpb-1.4.2.orig/src/maxwell/Makefile.in
+++ mpb-1.4.2/src/maxwell/Makefile.in
@@ -2,9 +2,13 @@
 
 SHELL = @SHELL@
 
+srcdir = @srcdir@
+top_srcdir = @top_srcdir@
+VPATH = @srcdir@
+
 CC = @CC@
 CFLAGS = @CFLAGS@
-CPPFLAGS = -I../util -I../matrices @CPPFLAGS@
+CPPFLAGS = -I$(top_srcdir)/src/util -I$(top_srcdir)/src/matrices -I. @CPPFLAGS@
 DEFS = @DEFS@
 LDFLAGS = @LDFLAGS@
 LIBS = @LIBS@