Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 04 Aug 2014 09:47:20 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 192372] New: Usage of DEFAULT_PGSQL_VERSION in databases/postgresql*-*
Message-ID:  <bug-192372-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192372

            Bug ID: 192372
           Summary: Usage of DEFAULT_PGSQL_VERSION in
                    databases/postgresql*-*
           Product: Ports Tree
           Version: Latest
          Hardware: Any
                OS: Any
            Status: Needs Triage
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs@FreeBSD.org
          Reporter: melvyn@magemana.nl

The postgresql ports delegate to one another to cut down on maintenance costs.
However, it does so by using a deprecated user-settable flag.

This now introduces a warning.
The system administrator who has done everything correctly and gotten rid of
DEFAULT_PGSQL_VERSION in favor of DEFAULT_VERSIONS= pgsql=93 is now
investigating where in her build environment there is still one being set.

The following is a fix for postgresql93-contrib which should be done for all
ports still using DEFAULT_PGSQL_VERSION for this purpose:

diff -r 65016dd0671d databases/postgresql93-contrib/Makefile
--- a/databases/postgresql93-contrib/Makefile    Sun Aug 03 16:19:17 2014 +0000
+++ b/databases/postgresql93-contrib/Makefile    Mon Aug 04 11:42:44 2014 +0200
@@ -13,8 +13,8 @@
         libxml2.so:${PORTSDIR}/textproc/libxml2

 USE_PGSQL=    yes
-DEFAULT_PGSQL_VER=93
-MASTERDIR=    ${.CURDIR}/../postgresql${DEFAULT_PGSQL_VER}-server
+WANT_PGSQL_VER=    93
+MASTERDIR=    ${.CURDIR}/../postgresql${WANT_PGSQL_VER}-server

 USES=        bison

-- 
You are receiving this mail because:
You are the assignee for the bug.



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