mapserver 7.2.2

This commit is contained in:
FX Coudert 2019-03-23 17:48:26 +01:00
parent e18d544c69
commit 49570f33a5

View file

@ -1,9 +1,8 @@
class Mapserver < Formula class Mapserver < Formula
desc "Publish spatial data and interactive mapping apps to the web" desc "Publish spatial data and interactive mapping apps to the web"
homepage "https://mapserver.org/" homepage "https://mapserver.org/"
url "https://download.osgeo.org/mapserver/mapserver-7.2.1.tar.gz" url "https://download.osgeo.org/mapserver/mapserver-7.2.2.tar.gz"
sha256 "9459a7057d5a85be66a41096a5d804f74665381186c37077c94b56e784db6102" sha256 "287f8dfe10961bc685bb87e118b7aa81382df907b2b3961d6559169b527ba95c"
revision 1
bottle do bottle do
cellar :any cellar :any
@ -63,6 +62,10 @@ class Mapserver < Formula
# 2): Library not loaded: @rpath/libmapserver.1.dylib # 2): Library not loaded: @rpath/libmapserver.1.dylib
args << "-DCMAKE_SKIP_RPATH=ON" args << "-DCMAKE_SKIP_RPATH=ON"
# Use Proj 6.0.0 compatibility headers
# https://github.com/mapserver/mapserver/issues/5766
ENV.append_to_cflags "-DACCEPT_USE_OF_DEPRECATED_PROJ_API_H"
mkdir "build" do mkdir "build" do
system "cmake", "..", *args system "cmake", "..", *args
system "make", "install" system "make", "install"