Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Feb 2014 13:33:56 GMT
From:      Rainer Hurling <rhurlin@gwdg.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/187141: [maintainer patch] graphics/qgis: fix pkg-plist
Message-ID:  <201402281333.s1SDXu36067692@cgiserv.freebsd.org>
Resent-Message-ID: <201402281340.s1SDe0LH050304@freefall.freebsd.org>

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

>Number:         187141
>Category:       ports
>Synopsis:       [maintainer patch] graphics/qgis: fix pkg-plist
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Feb 28 13:40:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Rainer Hurling
>Release:        11.0-CURRENT amd64
>Organization:
>Environment:
FreeBSD xxx.xxx.xxx 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r262334: Sat Feb 22 14:55:11 CET 2014     xxx@xxx.xxx.xxx:/usr/obj/usr/src/sys/XXX  amd64
>Description:
When OPTION POSTGIS is disabled, there is a problem with PostGIS related files in pkg-plist, which the installer tries to install:

===> Registering installation for qgis-2.2.0
pkg-static: lstat(/usr/ports/graphics/qgis/work/stage/usr/local/lib/qgis/plugins/libpostgresprovider.so): No such file or directory
pkg-static: lstat(/usr/ports/graphics/qgis/work/stage/usr/local/lib/qgis/plugins/libspitplugin.so): No such file or directory

Thanks to Jose Jachuf for pointing this out.

>How-To-Repeat:
Disable OPTION POSTGIS and build and install graphics/qgis.
>Fix:
The two mentioned files from the error message have to include an option string, see the attached patch.


Patch attached with submission follows:

--- pkg-plist.orig	2014-02-26 17:07:36.000000000 +0100
+++ pkg-plist	2014-02-28 13:57:34.000000000 +0100
@@ -401,12 +401,12 @@
 lib/qgis/plugins/libogrprovider.so
 lib/qgis/plugins/liboracleplugin.so
 lib/qgis/plugins/libowsprovider.so
-lib/qgis/plugins/libpostgresprovider.so
+%%PGSQL%%lib/qgis/plugins/libpostgresprovider.so
 lib/qgis/plugins/librasterterrainplugin.so
 lib/qgis/plugins/libroadgraphplugin.so
 lib/qgis/plugins/libspatialiteprovider.so
 lib/qgis/plugins/libspatialqueryplugin.so
-lib/qgis/plugins/libspitplugin.so
+%%PGSQL%%lib/qgis/plugins/libspitplugin.so
 lib/qgis/plugins/libsqlanywhereplugin.so
 lib/qgis/plugins/libsqlanywhereprovider.so
 lib/qgis/plugins/libtopolplugin.so


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



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