1 |
maekke 10/04/02 14:34:28 |
2 |
|
3 |
Added: ufraw-0.17-cfitsio-automagic.patch |
4 |
Log: |
5 |
version bump, drop some keywords as some deps changed. fix automagic dep on cfitsio based on a patch of Xarthisius in bug #311339 |
6 |
(Portage version: 2.2_rc67/cvs/Linux i686) |
7 |
|
8 |
Revision Changes Path |
9 |
1.1 media-gfx/ufraw/files/ufraw-0.17-cfitsio-automagic.patch |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/ufraw/files/ufraw-0.17-cfitsio-automagic.patch?rev=1.1&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/ufraw/files/ufraw-0.17-cfitsio-automagic.patch?rev=1.1&content-type=text/plain |
13 |
|
14 |
Index: ufraw-0.17-cfitsio-automagic.patch |
15 |
=================================================================== |
16 |
diff -ru ufraw-0.17.orig/configure.ac ufraw-0.17/configure.ac |
17 |
--- ufraw-0.17.orig/configure.ac 2010-04-02 16:16:08.000000000 +0200 |
18 |
+++ ufraw-0.17/configure.ac 2010-04-02 16:19:33.000000000 +0200 |
19 |
@@ -246,11 +246,19 @@ |
20 |
[ have_png=no |
21 |
AC_MSG_RESULT($LIBPNG_PKG_ERRORS) ] ) |
22 |
|
23 |
-PKG_CHECK_MODULES(CFITSIO, cfitsio, |
24 |
- [ have_cfitsio=yes |
25 |
- AC_DEFINE(HAVE_LIBCFITSIO, 1, have the cfitsio library) ], |
26 |
- [ have_cfitsio=no |
27 |
- AC_MSG_RESULT($CFITSIO_PKG_ERRORS) ] ) |
28 |
+AC_ARG_WITH([cfitsio], |
29 |
+ [AS_HELP_STRING([--with-cfitsio], |
30 |
+ [build fits support @<:@default=check@:>@])], |
31 |
+ [], |
32 |
+ [with_cfitsio=check]) |
33 |
+ |
34 |
+have_cfitsio=no |
35 |
+AS_IF([test "x$with_cfitsio" != xno], |
36 |
+ [PKG_CHECK_MODULES(CFITSIO, cfitsio, |
37 |
+ [ have_cfitsio=yes |
38 |
+ AC_DEFINE(HAVE_LIBCFITSIO, 1, have the cfitsio library) ], |
39 |
+ [ have_cfitsio=no |
40 |
+ AC_MSG_RESULT($CFITSIO_PKG_ERRORS) ] ) ] ) |
41 |
|
42 |
PKG_CHECK_MODULES(EXIV2, exiv2 >= 0.16, |
43 |
[ have_exiv2=yes |