[Lunar-commits] <moonbase> libgphoto2: Fix for bug #424

Stefan Wold ratler at lunar-linux.org
Wed Jul 28 16:10:14 CEST 2010


commit 9c7ead6a07a73b8a8dff080540f404a1ce79240e
Author: Stefan Wold <ratler at lunar-linux.org>
Date:   Wed Jul 28 16:10:14 2010 +0200

    libgphoto2: Fix for bug #424
    
    * If libexif isn't installed the libgphoto2.pc (pkgconfig) isn't generated properly,
      fixed with a simple sedit
---
 graphics/libgphoto2/BUILD |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/graphics/libgphoto2/BUILD b/graphics/libgphoto2/BUILD
new file mode 100644
index 0000000..fbf86c3
--- /dev/null
+++ b/graphics/libgphoto2/BUILD
@@ -0,0 +1,10 @@
+(
+
+  # Fix for bug that cause .pc file to be incorrect if libexif is disabled
+  if ! is_depends libexif; then
+    sedit "s;, @REQUIREMENTS_FOR_LIBEXIF@;;" libgphoto2.pc.in
+  fi &&
+
+  default_build
+
+) > $C_FIFO 2>61


More information about the Lunar-commits mailing list