Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 May 2012 07:41:04 -0300 (BRT)
From:      Anderson Soares Ferreira <anderson@cnpm.embrapa.br>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/167954: [update] graphics/qgis Remove dependency to PostGIS extension
Message-ID:  <20120516104104.B4B853F42B@caraiba.cnpm.embrapa.br>
Resent-Message-ID: <201205161050.q4GAo12J097301@freefall.freebsd.org>

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

>Number:         167954
>Category:       ports
>Synopsis:       [update] graphics/qgis Remove dependency to PostGIS extension
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed May 16 10:50:01 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Anderson Soares Ferreira
>Release:        FreeBSD 8.0-STABLE amd64
>Organization:
Embrapa Monitoramento por Satelite
>Environment:
System: FreeBSD caraiba.cnpm.embrapa.br 8.0-STABLE FreeBSD 8.0-STABLE #1: Wed Apr 28 16:03:13 BRT 2010 anderson@caraiba.cnpm.embrapa.br:/usr/obj/usr/src/sys/CARAIBA amd64

>Description:

To enable Postgis support, QGIS just needs PosgreSQL libraries.
This patch removes dependency to postgis.

>How-To-Repeat:

>Fix:

--- qgis.patch begins here ---
diff -Nru qgis.old/Makefile qgis/Makefile
--- qgis/Makefile	2012-05-15 21:14:31.000000000 -0300
+++ qgis/Makefile	2012-05-15 22:12:39.000000000 -0300
@@ -7,7 +7,7 @@
 
 PORTNAME=	qgis
 PORTVERSION=	1.7.4
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	graphics geography
 MASTER_SITES=	http://qgis.org/downloads/ \
 		http://download.osgeo.org/qgis/src/
@@ -53,8 +53,8 @@
 .endif
 
 .if defined(WITH_POSTGIS)
+USE_PGSQL=	YES
 CMAKE_ARGS+=	-DWITH_POSTGRESQL:BOOL=TRUE
-BUILD_DEPENDS+=	${LOCALBASE}/share/postgis:${PORTSDIR}/databases/postgis
 PLIST_SUB+=	PGSQL=""
 .else
 CMAKE_ARGS+=	-DWITH_POSTGRESQL:BOOL=FALSE
--- qgis.patch ends here ---


---
Aviso de confidencialidade:

Esta mensagem da Empresa Brasileira de Pesquisa Agropecuária (Embrapa), 
empresa pública federal regida pelo disposto na Lei Federal nº 5.851, 
de 7 de dezembro de 1972, é enviada exclusivamente a seu destinatário 
e pode conter informações confidenciais, protegidas por sigilo profissional. 
Sua utilização desautorizada é ilegal e sujeita o infrator às penas da lei. 
Se você a recebeu indevidamente, queira, por gentileza, reenviá-la ao emitente, 
esclarecendo o equívoco.

Confidentiality note:

This message from Empresa Brasileira de Pesquisa Agropecuária (Embrapa), 
a government company established under Brazilian law (5.851/72), 
is directed exclusively to its addressee and may contain confidential data, 
protected under professional secrecy rules. Its unauthorized use is illegal 
and may subject the transgressor to the law's penalties. 
If you are not the addressee, please send it back, elucidating the failure. 
>Release-Note:
>Audit-Trail:
>Unformatted:



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