aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2021-07-18 21:43:50 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2021-07-18 22:07:00 +0000
commitcec2f8e77051784d266d6d6389ac58214e6f86cd (patch)
tree67f5c8fbb0ac8ec071dd5de0eafa160fa2a2f881 /graphics
parent35cf7de429b621f81169a42a010449e9bf64ee02 (diff)
downloadports-cec2f8e77051784d266d6d6389ac58214e6f86cd.tar.gz
ports-cec2f8e77051784d266d6d6389ac58214e6f86cd.zip
graphics/gdal: Update to 3.3.1
Diffstat (limited to 'graphics')
-rw-r--r--graphics/gdal/Makefile3
-rw-r--r--graphics/gdal/distinfo6
-rw-r--r--graphics/gdal/files/patch-configure94
-rw-r--r--graphics/gdal/files/patch-m4-geos.m421
-rw-r--r--graphics/gdal/files/patch-m4-sfcgal.m421
5 files changed, 8 insertions, 137 deletions
diff --git a/graphics/gdal/Makefile b/graphics/gdal/Makefile
index d0864d714011..b91572a9b9b4 100644
--- a/graphics/gdal/Makefile
+++ b/graphics/gdal/Makefile
@@ -1,8 +1,7 @@
# Created by: Randall Hopper
PORTNAME= gdal
-PORTVERSION= 3.3.0
-PORTREVISION= 2
+PORTVERSION= 3.3.1
CATEGORIES= graphics geography
MASTER_SITES= https://download.osgeo.org/gdal/${PORTVERSION}/ \
LOCAL/sunpoet
diff --git a/graphics/gdal/distinfo b/graphics/gdal/distinfo
index 9673618a1445..0a04109b4afe 100644
--- a/graphics/gdal/distinfo
+++ b/graphics/gdal/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1624630042
-SHA256 (gdal-3.3.0.tar.xz) = 190c8f4b56afc767f43836b2a5cd53cc52ee7fdc25eb78c6079c5a244e28efa7
-SIZE (gdal-3.3.0.tar.xz) = 12923948
+TIMESTAMP = 1626460018
+SHA256 (gdal-3.3.1.tar.xz) = 48ab00b77d49f08cf66c60ccce55abb6455c3079f545e60c90ee7ce857bccb70
+SIZE (gdal-3.3.1.tar.xz) = 12933888
diff --git a/graphics/gdal/files/patch-configure b/graphics/gdal/files/patch-configure
index 6aebd59759a9..8d4eede12444 100644
--- a/graphics/gdal/files/patch-configure
+++ b/graphics/gdal/files/patch-configure
@@ -1,8 +1,6 @@
-Obtained from: https://github.com/OSGeo/gdal/commit/b414b0a0594b3e9c175a001e8455819463039eb6
+% sed -e 's|-lminizip|-lkmlminizip|; s|IlmImf|OpenEXR|' configure
-sed -e 's|-lminizip|-lkmlminizip|; s|IlmImf|OpenEXR|' configure
-
---- configure.orig 2021-04-26 12:29:56 UTC
+--- configure.orig 2021-06-28 10:57:58 UTC
+++ configure
@@ -36537,9 +36537,9 @@ $as_echo "$LIBKML_VERSION" >&6; }
libkml_include_dir2="$libkml_prefix/include/kml"
@@ -16,73 +14,7 @@ sed -e 's|-lminizip|-lkmlminizip|; s|IlmImf|OpenEXR|' configure
fi
run_libkml_test="yes"
elif test "$libkml_requested" = "yes"; then
-@@ -38323,6 +38323,7 @@ fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: GEOS support disabled" >&5
- $as_echo "GEOS support disabled" >&6; }
- GEOS_CONFIG=no
-+ HAVE_GEOS=no
-
- elif test x"$with_geos" = x"yes" -o x"$with_geos" = x"" ; then
-
-@@ -38580,15 +38581,13 @@ $as_echo "$as_me: WARNING: GEOS was found on your syst
-
- else
-
-- if test $ac_geos_config_auto = "no" ; then
-+ if test x"$with_geos" != x"no" -a x"$with_geos" != x ; then
- as_fn_error $? "GEOS support explicitly enabled, but geos-config could not be found" "$LINENO" 5
- fi
-
- fi
-
--HAVE_GEOS_RESULT="no"
- if test "${HAVE_GEOS}" = "yes" ; then
--
- { $as_echo "$as_me:${as_lineno-$LINENO}: Using C API from GEOS $GEOS_VERSION" >&5
- $as_echo "$as_me: Using C API from GEOS $GEOS_VERSION" >&6;}
-
-@@ -38602,7 +38601,6 @@ $as_echo "$as_me: Using C API from GEOS $GEOS_VERSION"
-
- GEOS_LIBS="$STRIPPED_LIBRARY_NAME"
- LIBS="${GEOS_LIBS} ${LIBS}"
-- HAVE_GEOS_RESULT="yes"
- fi
-
-
-@@ -38625,6 +38623,7 @@ fi
-
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: SFCGAL support disabled" >&5
- $as_echo "SFCGAL support disabled" >&6; }
-+ HAVE_SFCGAL=no
- SFCGAL_CONFIG=no
-
- elif test x"$with_sfcgal" = x"yes" -o x"$with_sfcgal" = x"" ; then
-@@ -38883,15 +38882,13 @@ $as_echo "$as_me: WARNING: SFCGAL was found on your sy
-
- else
-
-- if test $ac_sfcgal_config_auto = "no" ; then
-+ if test x"$with_sfcgal" != x"no" -a x"$with_sfcgal" != x ; then
- as_fn_error $? "SFCGAL support explicitly enabled, but sfcgal-config could not be found" "$LINENO" 5
- fi
-
- fi
-
--HAVE_SFCGAL_RESULT="no"
- if test "${HAVE_SFCGAL}" = "yes" ; then
--
- { $as_echo "$as_me:${as_lineno-$LINENO}: Using C API from SFCGAL $SFCGAL_VERSION" >&5
- $as_echo "$as_me: Using C API from SFCGAL $SFCGAL_VERSION" >&6;}
-
-@@ -38905,7 +38902,6 @@ $as_echo "$as_me: Using C API from SFCGAL $SFCGAL_VERS
-
- SFCGAL_LIBS="$STRIPPED_LIBRARY_NAME"
- LIBS="${SFCGAL_LIBS} ${LIBS}"
-- HAVE_SFCGAL_RESULT="yes"
- fi
-
-
-@@ -42250,13 +42246,13 @@ fi
+@@ -42246,13 +42246,13 @@ fi
# Test that the package found is for the right architecture
saved_LIBS="$LIBS"
LIBS="$EXR_LIBS"
@@ -100,7 +32,7 @@ sed -e 's|-lminizip|-lkmlminizip|; s|IlmImf|OpenEXR|' configure
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
-@@ -42276,17 +42272,17 @@ return ImfTiledInputReadTile ();
+@@ -42272,17 +42272,17 @@ return ImfTiledInputReadTile ();
}
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
@@ -123,21 +55,3 @@ sed -e 's|-lminizip|-lkmlminizip|; s|IlmImf|OpenEXR|' configure
HAVE_EXR=yes
else
HAVE_EXR=no
-@@ -44998,7 +44994,7 @@ echo " FreeXL support: ${HAVE_FREEXL}"
- echo " GEORASTER support: ${HAVE_GEORASTER}"
-
-
--echo " GEOS support: ${HAVE_GEOS_RESULT}"
-+echo " GEOS support: ${HAVE_GEOS}"
-
-
- echo " Google libkml support: ${HAVE_LIBKML}"
-@@ -45162,7 +45158,7 @@ echo " RasterLite2 support: ${HAVE_RASTERLITE2}
- echo " RDB support: ${RDB_SETTING}"
-
-
--echo " SFCGAL support: ${HAVE_SFCGAL_RESULT}"
-+echo " SFCGAL support: ${HAVE_SFCGAL}"
-
-
- echo " SOSI support: ${SOSI_ENABLED}"
diff --git a/graphics/gdal/files/patch-m4-geos.m4 b/graphics/gdal/files/patch-m4-geos.m4
deleted file mode 100644
index b44b0079f277..000000000000
--- a/graphics/gdal/files/patch-m4-geos.m4
+++ /dev/null
@@ -1,21 +0,0 @@
-Obtained from: https://github.com/OSGeo/gdal/commit/b414b0a0594b3e9c175a001e8455819463039eb6
-
---- m4/geos.m4.orig 2021-04-26 12:31:16 UTC
-+++ m4/geos.m4
-@@ -55,6 +55,7 @@ AC_DEFUN([GEOS_INIT],[
-
- AC_MSG_RESULT([GEOS support disabled])
- GEOS_CONFIG=no
-+ HAVE_GEOS=no
-
- elif test x"$with_geos" = x"yes" -o x"$with_geos" = x"" ; then
-
-@@ -160,7 +161,7 @@ AC_DEFUN([GEOS_INIT],[
-
- else
-
-- if test $ac_geos_config_auto = "no" ; then
-+ if test x"$with_geos" != x"no" -a x"$with_geos" != x ; then
- AC_MSG_ERROR([GEOS support explicitly enabled, but geos-config could not be found])
- fi
-
diff --git a/graphics/gdal/files/patch-m4-sfcgal.m4 b/graphics/gdal/files/patch-m4-sfcgal.m4
deleted file mode 100644
index 448bea3cbf09..000000000000
--- a/graphics/gdal/files/patch-m4-sfcgal.m4
+++ /dev/null
@@ -1,21 +0,0 @@
-Obtained from: https://github.com/OSGeo/gdal/commit/b414b0a0594b3e9c175a001e8455819463039eb6
-
---- m4/sfcgal.m4.orig 2021-04-26 12:31:13 UTC
-+++ m4/sfcgal.m4
-@@ -53,6 +53,7 @@ AC_DEFUN([SFCGAL_INIT],[
- if test x"$with_sfcgal" = x"no" ; then
-
- AC_MSG_RESULT([SFCGAL support disabled])
-+ HAVE_SFCGAL=no
- SFCGAL_CONFIG=no
-
- elif test x"$with_sfcgal" = x"yes" -o x"$with_sfcgal" = x"" ; then
-@@ -159,7 +160,7 @@ AC_DEFUN([SFCGAL_INIT],[
-
- else
-
-- if test $ac_sfcgal_config_auto = "no" ; then
-+ if test x"$with_sfcgal" != x"no" -a x"$with_sfcgal" != x ; then
- AC_MSG_ERROR([SFCGAL support explicitly enabled, but sfcgal-config could not be found])
- fi
-