File: 60-fix-build.diff

package info (click to toggle)
libkolab-perl 1%3A2.2.4-20100624-3
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 676 kB
  • ctags: 202
  • sloc: perl: 4,362; sh: 95; makefile: 36
file content (38 lines) | stat: -rw-r--r-- 1,101 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
29
30
31
32
33
34
35
36
37
38
Goal: Fix build

Author: Mathieu Parent <math.parent@gmail.com>

Upstream status: Changes are ongoing on HEAD

Index: b/Makefile.PL
===================================================================
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -170,11 +170,11 @@
 
 # older versions of ExtUtils:MakeMaker don't support INSTALLVENDORSCRIPT
 my $installscript = "";
-if ($ExtUtils::MakeMaker::VERSION >= 6.42) {
+#if ($ExtUtils::MakeMaker::VERSION >= 6.42) {
     $installscript = "INSTALLVENDORSCRIPT";
-} else {
-    $installscript = "INSTALLSCRIPT";
-}
+#} else {
+#    $installscript = "INSTALLSCRIPT";
+#}
 
 WriteMakefile(
     NAME              => 'perl-kolab',
Index: b/kolab.mk
===================================================================
--- a/kolab.mk
+++ b/kolab.mk
@@ -1,5 +1,6 @@
 # Set KOLABDIR to the base directory of the OpenPKG/Kolab installation:
-KOLABDIR = $(shell openpkg rpm -q --qf '%{INSTALLPREFIX}\n' openpkg)
+#KOLABDIR = $(shell openpkg rpm -q --qf '%{INSTALLPREFIX}\n' openpkg)
+KOLABDIR = /notexistentdir
 
 ifeq ($(KOLABDIR),)
   $(error Could not determine KOLABDIR!)