Instead of manually listing and installing every component in PostGIS, the
whole mess is now installed to a staging directory and copied to the prefix
using globbing operations.
Man pages are now installed as well.
FixesHomebrew/homebrew#10559.
Also added missing deps for osm2pgsql.
Removed some ACLOCAL_FLAGS stuff as in theory this is not set in ENV.rb. Would like to see if it causes trouble. Should just work now.
Several issues with PostGIS are addressed with this refactoring:
- PostGIS takes all of its orders from the PGXS makefiles distributed with
Postgresql. This means that it installs its self into the Postgres keg and
there is nothing that can be done. The solution is to avoid `make install`
and manually install everything.
- Gettext is no longer used as there is no way to properly specify paths to a
keg-only formula when all of the flags are being dictated by PGXS.
- The list of components in the 2.0 HEAD builds has been updated.
- The default behavior for HEAD is to build the raster and topology
extensions. Because of this, the `--with-raster` and `--with-topology`
options have been dropped.
ClosesHomebrew/homebrew#9448.
--raster option depends on gdal
install raster and topology sql files when corresponding option is true
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Bugfix:
- The PostGIS HEAD requires libintl, which requires linking against keg-only
gettext.
Features:
- Added options for enabling the topology and raster extensions that are present
in the HEAD source.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This is a minor release addressing a few issues that have
been filed since the 1.5.0 release.
Signed-off-by: David Höppner <0xffea@gmail.com>
* proj was not found in non /usr/local
brewkit.rb changes ENV destructively, so lets not do that everytime a formula
is required. Now it's possible for other tools to require a formula
description without worrying about side-effects.