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}  ])
