Bug#757786: pg_buildext for cmake?

Christoph Berg christoph.berg at credativ.de
Thu Aug 14 12:57:21 UTC 2014


Re: Michael Fladischer 2014-08-14 <53EC816F.9030607 at fladi.at>
> Does pg_buildext already support cmake?
> 
> Following the example in pg_buildext(1) it breaks at `pg_buildext build
> build-%v` because there is no Makefile.

No, it is only meant to be used with PGXS-style PostgreSQL extension
Makefiles.

What you can do is something like this:

for v in $(pg_buildext supported-versions); do
	PG_CONFIG=/usr/lib/postgresql/$v/bin/pg_config cmake ....
done

... or using native cmake methods to switch the PostgreSQL version, if
there's any.

If it's too hard/messy, don't bother with it. The net effect would
have been to be able to put the package on apt.postgresql.org, but I'm
unsure how much users would actually benefit from being able to choose
the PostgreSQL version for pgrouting instead of just using the Debian
default.

Christoph
-- 
Senior Berater, Tel.: +49 (0)21 61 / 46 43-187
credativ GmbH, HRB Mönchengladbach 12080, USt-ID-Nummer: DE204566209
Hohenzollernstr. 133, 41061 Mönchengladbach
Geschäftsführung: Dr. Michael Meskes, Jörg Folz, Sascha Heuer
pgp fingerprint: 5C48 FE61 57F4 9179 5970  87C6 4C5A 6BAB 12D2 A7AE



More information about the Pkg-grass-devel mailing list