changeset 1939:e4e403729962

provide a clean solution for the pkg-config issue of package exiv2
author Volker Grabsch <vog@notjusthosting.com>
date Fri, 29 Jul 2011 14:28:06 +0200
parents 5c83cfe7d243
children a3a1958f3804
files src/exiv2-r2571.patch src/exiv2.mk
diffstat 2 files changed, 15 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/exiv2-r2571.patch	Fri Jul 29 14:28:06 2011 +0200
@@ -0,0 +1,15 @@
+# This file is part of mingw-cross-env.
+# See doc/index.html for further information.
+
+This patch has been taken from:
+http://dev.exiv2.org/projects/exiv2/repository/revisions/2571
+
+--- a/config/exiv2.pc.in
++++ b/config/exiv2.pc.in
+@@ -7,5 +7,5 @@ Name: exiv2
+ Description: Image metadata library and tools
+ Version: @PACKAGE_VERSION@
+ Libs: -L${libdir} -lexiv2 @EXV_LIB_STATIC@
+-Libs.private: @LDFLAGS@ @EXPAT_LDFLAGS@ @LTLIBINTL@ @LTLIBICONV@ @LIBS@ @EXPAT_LIBS@
++Libs.private: @EXPAT_LDFLAGS@ @LTLIBINTL@ @LTLIBICONV@ @LIBS@ @EXPAT_LIBS@
+ Cflags: -I${includedir}
--- a/src/exiv2.mk	Thu Jul 28 02:26:58 2011 +0200
+++ b/src/exiv2.mk	Fri Jul 29 14:28:06 2011 +0200
@@ -31,8 +31,6 @@
         --disable-visibility \
         --disable-nls \
         --with-expat
-    # fix pkg-config linker flags
-    $(SED) -i 's,-no-undefined,,' '$(1)/config/exiv2.pc'
     $(MAKE) -C '$(1)/xmpsdk/src' -j '$(JOBS)'
     $(MAKE) -C '$(1)/src'        -j '$(JOBS)' install-lib
 endef