udunits (2.1.15-4) debian-changes-2.1.15-4

Summary

 Makefile.am   |    3 +++
 configure.ac  |    1 +
 udunits.pc.in |   10 ++++++++++
 3 files changed, 14 insertions(+)

    
download this patch

Patch contents

Description: Upstream changes introduced in version 2.1.15-4
 This patch has been created by dpkg-source during the package build.
 Here's the last changelog entry, hopefully it gives details on why
 those changes were made:
 .
 udunits (2.1.15-4) unstable; urgency=low
 .
   * Add patch from Stefan Tibus to fix typo in definition. Closes: #585848.
 .
 The person named in the Author field signed this changelog entry.
Author: Alastair McKinstry <mckinstry@debian.org>
Bug-Debian: http://bugs.debian.org/585848

---
The information above should follow the Patch Tagging Guidelines, please
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:

Origin: <vendor|upstream|other>, <url of original patch>
Bug: <url in upstream bugtracker>
Bug-Debian: http://bugs.debian.org/<bugnumber>
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
Forwarded: <no|not-needed|url proving that it has been forwarded>
Reviewed-By: <name and email of someone who approved the patch>
Last-Update: <YYYY-MM-DD>

--- /dev/null
+++ udunits-2.1.15/udunits.pc.in
@@ -0,0 +1,10 @@
+prefix=@prefix@
+exec_prefix=${prefix}
+libdir=${exec_prefix}/lib
+
+Name: udunits
+Description: Library for handling of units of physical quantities
+Version: @PACKAGE_VERSION@
+Libs:  -L${libdir} -ludunits2
+Libs.private: -L${libdir} -ludunits2 -lexpat
+CFlags: -I${prefix}/include
--- udunits-2.1.15.orig/configure.ac
+++ udunits-2.1.15/configure.ac
@@ -123,6 +123,7 @@ AC_CHECK_FUNCS([floor memmove memset mod
 AC_PROG_LIBTOOL
 
 AC_CONFIG_FILES([Makefile
+		 udunits.pc
 		 expat/Makefile
                  lib/Makefile
                  lib/xmlFailures/Makefile
--- udunits-2.1.15.orig/Makefile.am
+++ udunits-2.1.15/Makefile.am
@@ -26,6 +26,9 @@ distName = $(PACKAGE)-$(VERSION)
 distArchive = $(distName).tar.gz
 DISTCLEANFILES	= *.log $(distArchive)
 
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = @PACKAGE@.pc
+
 success.texi:	test/results.tab
 	sleep 2	# to accomodate broken HP-UX B.11.00 make(1)
 	sort -u -t : -k 2,2 -k 4,4 -k 5,5 test/results.tab | \