mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-25 10:03:03 +01:00
libraries/libspatialite: Require freexl regardless
This won't build without --enable-freexl despite the fact that --disable-freexl is a valid configure flag, so let's remove the option. Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
parent
a0ed6d6429
commit
6721e56e57
3 changed files with 4 additions and 22 deletions
|
@ -5,17 +5,4 @@ integrated into SQLite to provide a complete and powerful Spatial DBMS
|
||||||
deploy an alternative open source Spatial DBMS roughly equivalent to
|
deploy an alternative open source Spatial DBMS roughly equivalent to
|
||||||
PostgreSQL + PostGIS.
|
PostgreSQL + PostGIS.
|
||||||
|
|
||||||
Required dependency:
|
This requires proj, geos, and freexl.
|
||||||
* SQLite 3 (http://www.sqlite.org)
|
|
||||||
|
|
||||||
Recommended dependensies (enabled by default):
|
|
||||||
* Proj.4 (http://trac.osgeo.org/proj/), available at SlackBuilds.org
|
|
||||||
* GEOS (http://trac.osgeo.org/geos/), available at SlackBuilds.org
|
|
||||||
|
|
||||||
Optional dependency (enabled by default):
|
|
||||||
* FreeXL (https://www.gaia-gis.it/FreeXL/)
|
|
||||||
|
|
||||||
If you don't want to build SpatiaLite with FreeXL support specify FREEXL=no
|
|
||||||
to SlackBuild, for example
|
|
||||||
|
|
||||||
FREEXL=no sh libspatialite.SlackBuild
|
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
|
|
||||||
PRGNAM=libspatialite
|
PRGNAM=libspatialite
|
||||||
VERSION=${VERSION:-3.0.1}
|
VERSION=${VERSION:-3.0.1}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-2}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
|
|
||||||
if [ -z "$ARCH" ]; then
|
if [ -z "$ARCH" ]; then
|
||||||
|
@ -68,11 +68,6 @@ find . \
|
||||||
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
|
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
|
||||||
-exec chmod 644 {} \;
|
-exec chmod 644 {} \;
|
||||||
|
|
||||||
WITHFREEXL="--enable-freexl"
|
|
||||||
if [ "${FREEXL:-yes}" = "no" ]; then
|
|
||||||
WITHFREEXL="--disable-freexl"
|
|
||||||
fi
|
|
||||||
|
|
||||||
CFLAGS="$SLKCFLAGS" \
|
CFLAGS="$SLKCFLAGS" \
|
||||||
CXXFLAGS="$SLKCFLAGS" \
|
CXXFLAGS="$SLKCFLAGS" \
|
||||||
LDFLAGS="-ldl" \
|
LDFLAGS="-ldl" \
|
||||||
|
@ -82,7 +77,7 @@ LDFLAGS="-ldl" \
|
||||||
--sysconfdir=/etc \
|
--sysconfdir=/etc \
|
||||||
--docdir=/usr/doc/$PRGNAM-$VERSION \
|
--docdir=/usr/doc/$PRGNAM-$VERSION \
|
||||||
--disable-static \
|
--disable-static \
|
||||||
$WITHFREEXL \
|
--enable-freexl \
|
||||||
--build=$ARCH-slackware-linux
|
--build=$ARCH-slackware-linux
|
||||||
|
|
||||||
make
|
make
|
||||||
|
|
|
@ -13,7 +13,7 @@ libspatialite: core to support fully fledged Spatial SQL capabilities. SpatiaLit
|
||||||
libspatialite: smoothly integrated into SQLite to provide a complete and powerful
|
libspatialite: smoothly integrated into SQLite to provide a complete and powerful
|
||||||
libspatialite: Spatial DBMS (mostly OGC-SFS compliant).
|
libspatialite: Spatial DBMS (mostly OGC-SFS compliant).
|
||||||
libspatialite:
|
libspatialite:
|
||||||
libspatialite:
|
|
||||||
libspatialite: Project homepage: https://www.gaia-gis.it/fossil/libspatialite/home
|
libspatialite: Project homepage: https://www.gaia-gis.it/fossil/libspatialite/home
|
||||||
libspatialite:
|
libspatialite:
|
||||||
libspatialite:
|
libspatialite:
|
||||||
|
libspatialite:
|
||||||
|
|
Loading…
Reference in a new issue