1
0
forked from pool/mapserver

added a dirty hack to manipulate POSTGIS_LIB and strip out -lpgport, which seems to be not available on Suse, but pg_config propagates it. TODO: Send a patch to postgresql-packagers

OBS-URL: https://build.opensuse.org/package/show/Application:Geo/mapserver?expand=0&rev=39
This commit is contained in:
Bjoern Schilberg 2009-12-28 19:10:24 +00:00 committed by Git OBS Bridge
parent 13ee7b2d01
commit c510ed3fbe

View File

@ -143,6 +143,12 @@ chmod -x mapscript/php3/README.WIN32
--without-ld-shared \
--disable-runpath
## Dirty Hack: Strip out the faulty referenced -lpgport from Makefiles in
## order to make the linking succeed. pg_config progagates it, but it is
## not available on suse-systems.
## TODO: Send a patch to postgresql-packagers!
find . -name Makefile -exec sed -i 's/ -lpgport//' {} \;
## WARNING !!!
# using %{?_smp_mflags} may break build