From owner-freebsd-ports-bugs@freebsd.org Thu Apr 6 17:52:56 2017 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AD3BFD31D30 for ; Thu, 6 Apr 2017 17:52:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 832AF9BB for ; Thu, 6 Apr 2017 17:52:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v36HquKe010107 for ; Thu, 6 Apr 2017 17:52:56 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 218341] graphics/qgis: remove certain dependencies from the port Date: Thu, 06 Apr 2017 17:52:56 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: rhurlin@gwdg.de X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback+ X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Apr 2017 17:52:56 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D218341 --- Comment #2 from Rainer Hurling --- Hi Jose, in the meantime I tried several combinations of disabling and enabling dependencies via the ports Makefile. It seems, the best result to get rid of direct dependencies to PostgreSQL a= nd PostGIS without loosing functionality is with the following patch: #diff -urN Makefile.orig Makefile --- Makefile.orig 2017-04-01 20:11:32.567399000 +0200 +++ Makefile 2017-04-05 18:11:52.243112000 +0200 @@ -87,8 +87,8 @@ GRASS_FORCE_MAKE_JOBS=3D NO GRASS_CMAKE_OFF=3D -DWITH_GRASS:BOOL=3DFALSE -POSTGIS_USES=3D pgsql -POSTGIS_LIB_DEPENDS=3D liblwgeom.so:databases/postgis22 +#POSTGIS_USES=3D pgsql +#POSTGIS_LIB_DEPENDS=3D liblwgeom.so:databases/postgis22 POSTGIS_CMAKE_ON=3D -DWITH_POSTGRESQL:BOOL=3DTRUE POSTGIS_CMAKE_OFF=3D -DWITH_POSTGRESQL:BOOL=3DFALSE I was not able to find a solution to also avoid indirect dependencies to the PostgreSQL/PostGIS combo. The usage of databases/qt4-pgsql-plugin via USE_QT4=3Dsql-pgsql is definitely necessary, if one wants to be able to est= ablish to a PostgreSQL connection. The port databases/qt4-pgsql-plugin has a direct dependency to databases/postgresql9x-client ... Disabling USE_QT4=3Dsql-pgsql, for example via=20 #diff -urN Makefile.orig Makefile --- Makefile.orig 2017-04-01 20:11:32.567399000 +0200 +++ Makefile 2017-04-06 19:30:06.685875000 +0200 @@ -33,7 +33,7 @@ USE_PYQT=3D core gui network qscintilla2 sip sql svg xml webkit_run USE_QT4=3D corelib designer doc gui linguist_build moc_build \ - network qmake_build rcc_build script sql sql-pgsql \ + network qmake_build rcc_build script sql \ sql-sqlite3 svg testlib uic_build webkit xml USE_LDCONFIG=3D yes removes all PostgreSQL functionality within QGIS. It would be nice, if you could try these variants and give some feedback. Especially, it would be interesting, if you could confirm my findings for y= our installation. Thanks in advance. --=20 You are receiving this mail because: You are the assignee for the bug.=