Package: cmor / 2.9.1-5

pkgconfig.patch Patch series | 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
Author: Alastair McKinstry <mckinstry@debian.org>
Description: Add FFlags, includedir, fix for directories needed for C; 
Last-Updated: 2013-06-10
Forwarded: no

Index: cmor-2.8.3/cmor.pc.in
===================================================================
--- /dev/null	1970-01-01 00:00:00.000000000 +0000
+++ cmor-2.8.3/cmor.pc.in	2013-06-10 18:45:57.000000000 +0100
@@ -0,0 +1,13 @@
+prefix=@prefix@
+exec_prefix=${prefix}
+libdir=${exec_prefix}/lib
+includedir=${prefix}/include
+fflags=-I${includedir}
+
+Name: cmor
+Description: Climate Model Output Rewriter library
+Version: @PACKAGE_VERSION@
+Libs:  -L${libdir} -lcmor
+CFlags: -I${prefix}/include 
+CFlags: -I${includedir} -I${includedir}/cdTime
+Requires:  udunits netcdf ossp-uuid
Index: cmor-2.8.3/configure.ac
===================================================================
--- cmor-2.8.3.orig/configure.ac	2013-06-10 18:45:57.000000000 +0100
+++ cmor-2.8.3/configure.ac	2013-06-10 18:45:57.000000000 +0100
@@ -178,7 +178,7 @@
     UUIDFLAGS=""
   fi
 else
-  UUIDLDFLAGS="-luuid"
+  UUIDLDFLAGS="-lossp-uuid"
   UUIDFLAGS=""
 fi
 AC_CHECK_LIB([uuid],[uuid_create],[],[AC_ERROR([Could not get a working uuid])],[ ${UUIDFLAGS} ${UUIDLDFLAGS}  ])