Bug 204719 - [MAINTAINER] math/saga: Make option PostgreSQL version independent
Summary: [MAINTAINER] math/saga: Make option PostgreSQL version independent
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Palle Girgensohn
URL:
Keywords:
Depends on:
Blocks: 201796
  Show dependency treegraph
 
Reported: 2015-11-21 20:58 UTC by Rainer Hurling
Modified: 2015-11-23 01:11 UTC (History)
2 users (show)

See Also:
rhurlin: maintainer-feedback+


Attachments
Patch to make option PGSQL version independent (700 bytes, patch)
2015-11-21 20:58 UTC, Rainer Hurling
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Rainer Hurling freebsd_committer freebsd_triage 2015-11-21 20:58:43 UTC
Created attachment 163382 [details]
Patch to make option PGSQL version independent

girgen@ points me to the fact, that there is no need any more to hardwire the PostgreSQL version within the SAGA GIS port. Many thanks!

I decided to use 
  USES=pgsql 
instead of 
  LIB_DEPENDS=	libpq.so:${PORTSDIR}/databases/postgresql93-client

I am not sure, if it is useful to bump PORTREVISION here, but I did.


Tested with Poudriere (HEAD, 10.2, 9.3, all amd64 and 9.3 i386). Also, 'portlint -AC' does not complain about the changes.
Comment 1 commit-hook freebsd_committer freebsd_triage 2015-11-22 11:34:41 UTC
A commit references this bug:

Author: girgen
Date: Sun Nov 22 11:33:59 UTC 2015
New revision: 402226
URL: https://svnweb.freebsd.org/changeset/ports/402226

Log:
  Use USES=pgsql instead of hardwiring a postgresql version

  PR:		204719
  Submitted by:	Rainer Hurling<rhurlin@gwdg.de> (maintainer)

Changes:
  head/math/saga/Makefile
Comment 2 Palle Girgensohn freebsd_committer freebsd_triage 2015-11-22 11:35:51 UTC
Committed. Thanks!
Comment 3 Kubilay Kocak freebsd_committer freebsd_triage 2015-11-22 11:37:06 UTC
Assign to committer that resolved