svn commit: r437828 - head/databases/postgis23

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Wed Apr 5 19:59:01 UTC 2017


Author: sunpoet
Date: Wed Apr  5 19:59:00 2017
New Revision: 437828
URL: https://svnweb.freebsd.org/changeset/ports/437828

Log:
  Use WANT_PGSQL instead of hard-coded RUN_DEPENDS
  
  Note that postgresql-client was already brought in via USES=pgsql.
  Therefore the equivalent WANT_PGSQL is "lib server".
  
  Approved by:	portmgr (blanket)

Modified:
  head/databases/postgis23/Makefile

Modified: head/databases/postgis23/Makefile
==============================================================================
--- head/databases/postgis23/Makefile	Wed Apr  5 19:58:55 2017	(r437827)
+++ head/databases/postgis23/Makefile	Wed Apr  5 19:59:00 2017	(r437828)
@@ -16,8 +16,6 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 LIB_DEPENDS=	libproj.so:graphics/proj \
 		libgeos.so:graphics/geos \
 		libjson-c.so:devel/json-c
-RUN_DEPENDS=	postmaster:databases/postgresql${PGSQL_VER_NODOT}-server
-
 CONFLICTS=	postgis20-2.0.*  postgis-2.1.* postgis-22*
 
 USES=		gettext gmake iconv:wchar_t libtool:keepla perl5 pgsql pkgconfig shebangfix
@@ -29,6 +27,7 @@ SHEBANG_FILES=	extensions/address_standa
 USE_GNOME=	libxml2
 USE_LDCONFIG=	yes
 USE_PERL5=	build
+WANT_PGSQL=	lib server
 
 OPTIONS_DEFINE=		LOADERGUI RASTER TOPOLOGY SFCGAL ADDRSTD
 OPTIONS_DEFAULT=	TOPOLOGY ADDRSTD


More information about the svn-ports-head mailing list