aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authorpawel <pawel@FreeBSD.org>2016-05-27 22:46:46 +0800
committerpawel <pawel@FreeBSD.org>2016-05-27 22:46:46 +0800
commit14558038841b923bd300df3ec08d231506a5e71e (patch)
tree613147fbe9013b935cff9d30564720865c0f4a1c /databases
parenta70fed74f12554ce2c363914561463f8f07b2497 (diff)
downloadfreebsd-ports-gnome-14558038841b923bd300df3ec08d231506a5e71e.tar.gz
freebsd-ports-gnome-14558038841b923bd300df3ec08d231506a5e71e.tar.zst
freebsd-ports-gnome-14558038841b923bd300df3ec08d231506a5e71e.zip
- Update to version 2.2.3 [1]
- Change maintainer's email address [1] - Convert to USES=localbase PR: 209569 [1] Submitted by: maintainer [1]
Diffstat (limited to 'databases')
-rw-r--r--databases/pgrouting/Makefile11
-rw-r--r--databases/pgrouting/distinfo5
-rw-r--r--databases/pgrouting/files/patch-CMakeLists.txt2
-rw-r--r--databases/pgrouting/files/patch-src_trsp_src_GraphDefinition.cpp2
-rw-r--r--databases/pgrouting/files/patch-src_trsp_src_trsp__core.cpp2
-rw-r--r--databases/pgrouting/files/patch-src_tsp_src_tsplib.c2
-rw-r--r--databases/pgrouting/files/patch-src_vrp__basic_src_VRP.h2
-rw-r--r--databases/pgrouting/files/patch-src_vrp__basic_src_VRP__Solver.cpp11
-rw-r--r--databases/pgrouting/pkg-plist13
9 files changed, 30 insertions, 20 deletions
diff --git a/databases/pgrouting/Makefile b/databases/pgrouting/Makefile
index 45c7936ce599..78d348a273fe 100644
--- a/databases/pgrouting/Makefile
+++ b/databases/pgrouting/Makefile
@@ -2,10 +2,10 @@
# $FreeBSD$
PORTNAME= pgrouting
-PORTVERSION= 2.2.2
+PORTVERSION= 2.2.3
CATEGORIES= databases geography
-MAINTAINER= coder@tuxfamily.org
+MAINTAINER= lbartoletti@tuxfamily.org
COMMENT= Extension to PostGIS to provide geospatial routing functionality
LICENSE= GPLv2
@@ -15,13 +15,10 @@ LIB_DEPENDS= libboost_system.so:devel/boost-libs\
libgmp.so:math/gmp
RUN_DEPENDS= ${LOCALBASE}/share/postgresql/contrib/postgis-2.1/postgis.sql:databases/postgis21
-USES= compiler:c++11-lib cmake pgsql:9.1+ pkgconfig
+USES= compiler:c++11-lib cmake localbase pgsql:9.1+ pkgconfig
USE_LDCONFIG= yes
USE_GITHUB= yes
GH_ACCOUNT= pgRouting
-GH_TAGNAME= 190d2b9
-
-CFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib
+GH_TAGNAME= 8416c60
.include <bsd.port.mk>
diff --git a/databases/pgrouting/distinfo b/databases/pgrouting/distinfo
index 2be1cdccc25e..fe1a7b1373fd 100644
--- a/databases/pgrouting/distinfo
+++ b/databases/pgrouting/distinfo
@@ -1,2 +1,3 @@
-SHA256 (pgRouting-pgrouting-2.2.2-190d2b9_GH0.tar.gz) = 07f316eee18c2d990ec5de8c5825fc402c010a1e0c874f61a72da4b88828a2b0
-SIZE (pgRouting-pgrouting-2.2.2-190d2b9_GH0.tar.gz) = 4372652
+TIMESTAMP = 1463423989
+SHA256 (pgRouting-pgrouting-2.2.3-8416c60_GH0.tar.gz) = 2fdc5f781eaf342222c5b52e12698adb641bde2576908e85a7dc41b8d8ccb540
+SIZE (pgRouting-pgrouting-2.2.3-8416c60_GH0.tar.gz) = 4373034
diff --git a/databases/pgrouting/files/patch-CMakeLists.txt b/databases/pgrouting/files/patch-CMakeLists.txt
index 3842437733bc..be76908ae4e1 100644
--- a/databases/pgrouting/files/patch-CMakeLists.txt
+++ b/databases/pgrouting/files/patch-CMakeLists.txt
@@ -1,4 +1,4 @@
---- CMakeLists.txt.orig 2016-04-19 16:40:04 UTC
+--- CMakeLists.txt.orig 2016-05-15 23:38:54 UTC
+++ CMakeLists.txt
@@ -224,20 +224,20 @@ if(APPLE)
if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
diff --git a/databases/pgrouting/files/patch-src_trsp_src_GraphDefinition.cpp b/databases/pgrouting/files/patch-src_trsp_src_GraphDefinition.cpp
index f5eba2d8ded3..b17b14f229b4 100644
--- a/databases/pgrouting/files/patch-src_trsp_src_GraphDefinition.cpp
+++ b/databases/pgrouting/files/patch-src_trsp_src_GraphDefinition.cpp
@@ -1,4 +1,4 @@
---- src/trsp/src/GraphDefinition.cpp.orig 2016-04-28 19:58:27 UTC
+--- src/trsp/src/GraphDefinition.cpp.orig 2016-05-15 23:38:54 UTC
+++ src/trsp/src/GraphDefinition.cpp
@@ -26,7 +26,7 @@ Foundation, Inc., 51 Franklin Street, Fi
#include <windows.h>
diff --git a/databases/pgrouting/files/patch-src_trsp_src_trsp__core.cpp b/databases/pgrouting/files/patch-src_trsp_src_trsp__core.cpp
index a04005721eaa..c6a2fd935107 100644
--- a/databases/pgrouting/files/patch-src_trsp_src_trsp__core.cpp
+++ b/databases/pgrouting/files/patch-src_trsp_src_trsp__core.cpp
@@ -1,4 +1,4 @@
---- src/trsp/src/trsp_core.cpp.orig 2016-04-28 19:43:44 UTC
+--- src/trsp/src/trsp_core.cpp.orig 2016-05-15 23:38:54 UTC
+++ src/trsp/src/trsp_core.cpp
@@ -25,6 +25,7 @@ Foundation, Inc., 51 Franklin Street, Fi
#include <windows.h>
diff --git a/databases/pgrouting/files/patch-src_tsp_src_tsplib.c b/databases/pgrouting/files/patch-src_tsp_src_tsplib.c
index 7cc2eee2fc8c..7df2248938d7 100644
--- a/databases/pgrouting/files/patch-src_tsp_src_tsplib.c
+++ b/databases/pgrouting/files/patch-src_tsp_src_tsplib.c
@@ -1,4 +1,4 @@
---- src/tsp/src/tsplib.c.orig 2016-04-28 19:50:17 UTC
+--- src/tsp/src/tsplib.c.orig 2016-05-15 23:38:54 UTC
+++ src/tsp/src/tsplib.c
@@ -85,6 +85,7 @@ THE SOFTWARE.
//#include <winsock2.h>
diff --git a/databases/pgrouting/files/patch-src_vrp__basic_src_VRP.h b/databases/pgrouting/files/patch-src_vrp__basic_src_VRP.h
index 50cc1eaa2a3a..4f2dc1da4ba8 100644
--- a/databases/pgrouting/files/patch-src_vrp__basic_src_VRP.h
+++ b/databases/pgrouting/files/patch-src_vrp__basic_src_VRP.h
@@ -1,4 +1,4 @@
---- src/vrp_basic/src/VRP.h.orig 2016-04-19 16:40:04 UTC
+--- src/vrp_basic/src/VRP.h.orig 2016-05-15 23:38:54 UTC
+++ src/vrp_basic/src/VRP.h
@@ -70,7 +70,7 @@ typedef struct vrp_result_element
diff --git a/databases/pgrouting/files/patch-src_vrp__basic_src_VRP__Solver.cpp b/databases/pgrouting/files/patch-src_vrp__basic_src_VRP__Solver.cpp
new file mode 100644
index 000000000000..d801ec34b217
--- /dev/null
+++ b/databases/pgrouting/files/patch-src_vrp__basic_src_VRP__Solver.cpp
@@ -0,0 +1,11 @@
+--- src/vrp_basic/src/VRP_Solver.cpp.orig 2016-05-16 20:28:00 UTC
++++ src/vrp_basic/src/VRP_Solver.cpp
+@@ -28,6 +28,8 @@ Foundation, Inc., 51 Franklin Street, Fi
+
+ #include <algorithm>
+ #include "VRP_Solver.h"
++#include <cstdlib>
++#include <cmath>
+
+ #undef PGR_LOGGER_ON
+ #define PGR_LOGGER_LOC
diff --git a/databases/pgrouting/pkg-plist b/databases/pgrouting/pkg-plist
index 984dd1f1df70..525d44a3431a 100644
--- a/databases/pgrouting/pkg-plist
+++ b/databases/pgrouting/pkg-plist
@@ -1,8 +1,9 @@
lib/postgresql/libpgrouting-2.2.so
-share/postgresql/extension/pgrouting--2.0.0--2.2.2.sql
-share/postgresql/extension/pgrouting--2.0.1--2.2.2.sql
-share/postgresql/extension/pgrouting--2.1.0--2.2.2.sql
-share/postgresql/extension/pgrouting--2.2.0--2.2.2.sql
-share/postgresql/extension/pgrouting--2.2.1--2.2.2.sql
-share/postgresql/extension/pgrouting--2.2.2.sql
+share/postgresql/extension/pgrouting--2.0.0--2.2.3.sql
+share/postgresql/extension/pgrouting--2.0.1--2.2.3.sql
+share/postgresql/extension/pgrouting--2.1.0--2.2.3.sql
+share/postgresql/extension/pgrouting--2.2.0--2.2.3.sql
+share/postgresql/extension/pgrouting--2.2.1--2.2.3.sql
+share/postgresql/extension/pgrouting--2.2.2--2.2.3.sql
+share/postgresql/extension/pgrouting--2.2.3.sql
share/postgresql/extension/pgrouting.control