File: pkgconfig.patch

package info (click to toggle)
cmor 3.6.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 16,248 kB
  • sloc: ansic: 26,825; f90: 14,085; python: 11,312; sh: 2,879; makefile: 378; xml: 168
file content (36 lines) | stat: -rw-r--r-- 1,114 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
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-3.6.0/cmor.pc.in
===================================================================
--- /dev/null
+++ cmor-3.6.0/cmor.pc.in
@@ -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-3.6.0/configure.ac
===================================================================
--- cmor-3.6.0.orig/configure.ac
+++ cmor-3.6.0/configure.ac
@@ -203,7 +203,7 @@ if [ test x${with_uuid} != xyes ] ; then
     UUIDFLAGS=""
   fi
 else
-  UUIDLDFLAGS="-luuid"
+  UUIDLDFLAGS="-lossp-uuid"
   UUIDFLAGS=""
 fi
 AC_CHECK_LIB([uuid],[uuid_generate],[],[AC_ERROR([Could not get a working uuid])],[ ${UUIDFLAGS} ${UUIDLDFLAGS}  ])