Le 22 mai 2005 à 07:26, Michèle Garoche a écrit :

Now the problem is more complicated. If I modified the lines like:

(%type_raw[-nopgsql] = .) postgresql80-shlibs (>= 8.0.2-13) | (% type_raw[-nopgsql] = .) postgresql80-ssl-shlibs (>= 8.0.2-13),

DUMPINFO rightly shows postgresql80-shlibs (>= 8.0.2-13) | postgresql80-ssl-shlibs, however, the dependency check always want postgresql80-shlibs, not -ssl one. Even if I swap postgresql80- shlibs and -ssl (--sl comes first), it still wants postgresql80- shlibs.

The package is gdal and I am the maintainer. This version of GDAL depends on GRASS60. GRASS60 which also depends on postgresql80- shlibs | postgresql80-ssl-shlibs got built successfully.

Maybe grass60 (again, I am the maintainer) .info file is broken?


No, I don't think so, but the problem could be that you have to also make a conditional with grass depending on the same postgres (that is if you have only two variants, drop the conditional on postgresql.
Disregard above please. Reading more you'll have to make conditional on BuildDepends. At the moment, it is only dependent on postgresql- dev; that's why you get always postgresql, not postgresql-ssl.

Try something like this (obviously I've made a wild guess on gdal.info since you'll don't past it)

Depends: %N-shlibs (= %v-%r), giflib | libungif, libjpeg, libpng3, libtiff (>= 3.6.0), netcdf, proj, libgeos2-shlibs, unixodbc2, (% type_raw[-nopgsql] = -nopgsql) postgresql80-shlibs (>= 8.0.2-13) | (% type_raw[-nopgsql] = -nopgsql) postgresql80-ssl-shlibs (>= 8.0.2-13), (%type_raw[-grass] = -grass) grass60-shlibs | grass60-nopgsql-shlibs | grass60-nogdal-shlibs | grass60-nopgsql-nogdal-shlibs BuildDepends: libiconv-dev, cfitsio, libgeos2, (%type_raw[-nopgsql] = -nopgsql) postgresql80-dev (>= 8.0.2-13) | (%type_raw[-nopgsql] = - nopgsql) postgresql80-ssl-dev (>= 8.0.2-13)


Cheers,
Michèle
<http://micmacfr.homeunix.org>




-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_idt12&alloc_id344&op=click
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to