[arch-commits] Commit in libgphoto2/trunk (PKGBUILD)

Jan de Groot jgc at archlinux.org
Mon Jun 8 16:43:52 EDT 2009


    Date: Monday, June 8, 2009 @ 16:43:52
  Author: jgc
Revision: 41983

Fix link patch when running the print-camera-list binary (FS#14999)

Modified:
  libgphoto2/trunk/PKGBUILD

----------+
 PKGBUILD |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-06-08 19:50:37 UTC (rev 41982)
+++ PKGBUILD	2009-06-08 20:43:52 UTC (rev 41983)
@@ -25,12 +25,12 @@
   
   install -m755 -d "${pkgdir}/usr/share/hal/fdi/information/20thirdparty"
   install -m755 -d "${pkgdir}/etc/udev/rules.d"
-  LD_LIBRARY_PATH="${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH}${pkgdir}/usr/lib" \
+  LD_LIBRARY_PATH="${pkgdir}/usr/lib${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH" \
   CAMLIBS="${pkgdir}/usr/lib/libgphoto2/${pkgver}" \
       "${pkgdir}/usr/lib/libgphoto2/print-camera-list" hal-fdi > \
       "${pkgdir}/usr/share/hal/fdi/information/20thirdparty/10-camera-libgphoto2.fdi" || return 1
 
-  LD_LIBRARY_PATH="${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH}${pkgdir}/usr/lib" \
+  LD_LIBRARY_PATH="${pkgdir}/usr/lib${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH" \
   CAMLIBS="${pkgdir}/usr/lib/libgphoto2/${pkgver}" \
       "${pkgdir}/usr/lib/libgphoto2/print-camera-list" udev-rules version 0.98 group camera mode 0660 > \
       "${pkgdir}/etc/udev/rules.d/54-gphoto.rules" || return 1



More information about the arch-commits mailing list