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:
parent
13ee7b2d01
commit
c510ed3fbe
@ -143,6 +143,12 @@ chmod -x mapscript/php3/README.WIN32
|
|||||||
--without-ld-shared \
|
--without-ld-shared \
|
||||||
--disable-runpath
|
--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 !!!
|
## WARNING !!!
|
||||||
# using %{?_smp_mflags} may break build
|
# using %{?_smp_mflags} may break build
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user