Skip site navigation (1)Skip section navigation (2)
Date:      Wed,  7 Jun 2006 13:12:33 -0300 (BRT)
From:      "Anderson S. Ferreira" <anderson@cnpm.embrapa.br>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/98624: [update] graphics/mapserver: Fix incorrect postgis dependency
Message-ID:  <20060607161233.8561417070@mogno.local.cnpm.embrapa.br>
Resent-Message-ID: <200606071630.k57GUOsT045431@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         98624
>Category:       ports
>Synopsis:       [update] graphics/mapserver: Fix incorrect postgis dependency
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 07 16:30:23 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Anderson S. Ferreira
>Release:        FreeBSD 6.1-STABLE amd64
>Organization:
Embrapa Monitoramento por Satélite
>Environment:
System: FreeBSD mogno.local.cnpm.embrapa.br 6.1-STABLE FreeBSD 6.1-STABLE #20: Tue Jun 6 07:58:11 BRT 2006 anderson@mogno.local.cnpm.embrapa.br:/usr/src/sys/amd64/compile/MOGNO amd64
>Description:

 The Mapserver's port doesn't need to use postgis library, it must use PostgreSQL libraries instead.
 
>How-To-Repeat:

>Fix:

--- mapserver.patch begins here ---
diff -uNr mapserver/Makefile mapserver/Makefile
--- mapserver/Makefile	Mon Apr 24 15:14:24 2006
+++ mapserver/Makefile	Wed Jun  7 09:32:40 2006
@@ -7,7 +7,7 @@
 
 PORTNAME=		mapserver
 PORTVERSION=		4.4.1
-PORTREVISION=		1
+PORTREVISION=		2
 CATEGORIES=		graphics www
 MASTER_SITES=		http://cvs.gis.umn.edu/dist/
 
@@ -74,8 +74,7 @@
 .endif
 
 .if defined(WITH_POSTGIS)
-POSTGRESQL_PORT?=	databases/postgis
-LIB_DEPENDS+=		pq.3:${PORTSDIR}/${POSTGRESQL_PORT}
+USE_PGSQL=              YES
 CONFIGURE_ARGS+=	--with-postgis=${LOCALBASE}/bin/pg_config
 .endif
 
--- mapserver.patch ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060607161233.8561417070>