File: makefile-aterm.dpatch

package info (click to toggle)
xt-toolbuslib 0.5.1-2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 516 kB
  • ctags: 831
  • sloc: ansic: 5,255; sh: 361; makefile: 89
file content (28 lines) | stat: -rw-r--r-- 814 bytes parent folder | download
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
27
28
#! /bin/sh -e
## makefile-doc.dpatch by Julien LEMOINE <speedblue@debian.org>
##
## DP: Add a -I/usr/include/xt-aterm

if [ $# -ne 1 ]; then
  echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
  exit 1
fi
case "$1" in
  -patch) patch -f --no-backup-if-mismatch -p1 < $0;;
  -unpatch) patch -f --no-backup-if-mismatch -R -p1 < $0;;
  *)
    echo >&2 "`basename \$0`: script expects -patch|-unpatch as argument"
    exit 1;;
esac
exit 0
--- xt-toolbuslib-0.4-orig/aterm/Makefile.in.old	2003-03-31 15:54:18.000000000 +0200
+++ xt-toolbuslib-0.4/aterm/Makefile.in	2003-03-31 15:54:32.000000000 +0200
@@ -82,7 +82,7 @@
 LIBRARIES =  $(lib_LIBRARIES)
 
 
-DEFS = @DEFS@ -I. -I$(srcdir) 
+DEFS = @DEFS@ -I. -I$(srcdir) -I/usr/include/xt-aterm
 CPPFLAGS = @CPPFLAGS@
 LDFLAGS = @LDFLAGS@
 LIBS = @LIBS@