File: patch

package info (click to toggle)
ogdi-dfsg 3.2.0~beta2-7
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 4,344 kB
  • sloc: ansic: 61,172; sh: 3,260; makefile: 439; perl: 162; tcl: 38
file content (52 lines) | stat: -rw-r--r-- 1,089 bytes parent folder | download | duplicates (3)
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
--- ogdi-dfsg-3.2.0~beta1.orig/configure.in
+++ ogdi-dfsg-3.2.0~beta1/configure.in
@@ -349,5 +349,9 @@
 		[chmod +x ogdi-config])
 
 AC_OUTPUT(config/generic.mak)
-mv config/generic.mak config/`uname`.mak
 
+target=`uname`
+if test "$target" = "GNU/kFreeBSD" ; then
+  target=Linux
+fi
+mv config/generic.mak config/$target.mak
--- ogdi-dfsg-3.2.0~beta1.orig/configure
+++ ogdi-dfsg-3.2.0~beta1/configure
@@ -5278,5 +5875,9 @@
   $ac_cs_success || { (exit 1); exit 1; }
 fi
 
-mv config/generic.mak config/`uname`.mak
 
+target=`uname`
+if test "$target" = "GNU/kFreeBSD" ; then
+  target=Linux
+fi
+mv config/generic.mak config/$target.mak
--- ogdi-dfsg-3.2.0~beta1.orig/config/common.mak.in
+++ ogdi-dfsg-3.2.0~beta1/config/common.mak.in
@@ -52,6 +52,9 @@
 
 ifndef TARGET
 TARGET = $(shell uname)
+ifeq ($(TARGET), GNU/kFreeBSD)
+TARGET = Linux
+endif
 endif
 
 #
--- ogdi-dfsg-3.2.0~beta1.orig/config/common.mak
+++ ogdi-dfsg-3.2.0~beta1/config/common.mak
@@ -52,6 +52,9 @@
 
 ifndef TARGET
 TARGET = $(shell uname)
+ifeq ($(TARGET), GNU/kFreeBSD)
+TARGET = Linux
+endif
 endif
 
 #