Bug 167954 - [update] graphics/qgis Remove dependency to PostGIS extension
Summary: [update] graphics/qgis Remove dependency to PostGIS extension
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Wen Heping
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-16 11:50 UTC by Anderson S. Ferreira
Modified: 2012-05-23 08:40 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anderson S. Ferreira 2012-05-16 11:50:01 UTC
To enable Postgis support, QGIS just needs PosgreSQL libraries.
This patch removes dependency to postgis.

Fix: 

---
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.--AarkAo0hd8UqJFphiQ2W4GnnrVUeBK5tetcqNQ6FxRUVtceP
Content-Type: text/plain; name="qgis.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="qgis.patch"

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
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2012-05-16 11:50:17 UTC
Responsible Changed
From-To: freebsd-ports-bugs->wen

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2012-05-23 08:34:51 UTC
wen         2012-05-23 07:34:39 UTC

  FreeBSD ports repository

  Modified files:
    graphics/qgis        Makefile 
  Log:
  - Update DEPENDS for postgis option
  
  PR:             167954
  Submitted by:   Anderson Soares Ferreira <anderson@cnpm.embrapa.br>
  
  Revision  Changes    Path
  1.60      +2 -2      ports/graphics/qgis/Makefile
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Wen Heping freebsd_committer freebsd_triage 2012-05-23 08:34:52 UTC
State Changed
From-To: open->closed

Committed. Thanks!