]> git.proxmox.com Git - openais-pve.git/blob - debian/patches/01_Makefile_inc.dpatch
imported from svn 'openais/trunk'
[openais-pve.git] / debian / patches / 01_Makefile_inc.dpatch
1 #! /bin/sh /usr/share/dpatch/dpatch-run
2 ## 01_Makefile_patch.dpatch by <root@lvm1.maurer-it.com>
3 ##
4 ## All lines beginning with `## DP:' are a description of the patch.
5 ## DP: set correct paths
6
7 @DPATCH@
8
9 --- a/Makefile.inc.org 2009-03-31 04:52:36.000000000 -0400
10 +++ b/Makefile.inc 2009-03-31 04:54:20.000000000 -0400
11 @@ -1,28 +1,11 @@
12 # Common options
13 PREFIX=/usr
14 DESTDIR=
15 -LCRSODIR=$(PREFIX)/libexec/lcrso
16 +LCRSODIR=$(PREFIX)/lib/lcrso
17
18 -ARCH=$(shell uname -p)
19 -
20 -ifeq (,$(findstring 64,$(ARCH)))
21 -PRELIBDIR=$(PREFIX)/lib
22 -else
23 -PRELIBDIR=$(PREFIX)/lib64
24 -endif
25 -ifeq (s390,$(ARCH))
26 -PRELIBDIR=$(PREFIX)/lib
27 -endif
28 -ifeq (s390x,$(ARCH))
29 -PRELIBDIR=$(PREFIX)/lib64
30 -endif
31 -ifeq (ia64,$(ARCH))
32 -PRELIBDIR=$(PREFIX)/lib
33 -endif
34 -
35 -LIBDIR=$(PRELIBDIR)/openais
36 -COROSYNCLIBDIR=$(PRELIBDIR)/corosync
37 -PKGCONFIGDIR=$(PRELIBDIR)/pkgconfig
38 +LIBDIR=$(PREFIX)/lib
39 +COROSYNCLIBDIR=$(PREFIX)/lib
40 +PKGCONFIGDIR=$(PREFIX)/lib/pkgconfig
41
42
43
44 # Do not modify below this line
45