Contents of /trunk/libgphoto2/patches/libgphoto2-2.1.2-norpm.patch
Parent Directory | Revision Log
Revision 144 -
(show annotations)
(download)
Tue May 8 20:06:05 2007 UTC (17 years, 4 months ago) by niro
File size: 533 byte(s)
Tue May 8 20:06:05 2007 UTC (17 years, 4 months ago) by niro
File size: 533 byte(s)
-import
1 | --- libgphoto2-2.1.2/configure 2002-12-01 21:46:42.000000000 +0000 |
2 | +++ libgphoto2-2.1.2/configure 2003-08-18 17:32:26.000000000 +0100 |
3 | @@ -13865,14 +13865,9 @@ |
4 | # packages we're going to build will depend on libusb and libusb-devel |
5 | # RPM packages or not. |
6 | |
7 | - |
8 | -if rpm -q libusb-devel > /dev/null 2>&1; then |
9 | +# remove rpm -q test to avoid breaking sandbox |
10 | RPM_LIBUSB_DEVEL_TRUE= |
11 | RPM_LIBUSB_DEVEL_FALSE='#' |
12 | -else |
13 | - RPM_LIBUSB_DEVEL_TRUE='#' |
14 | - RPM_LIBUSB_DEVEL_FALSE= |
15 | -fi |
16 | |
17 | |
18 | # effective_target has to be determined in advance |