Date: Mon, 25 Aug 2014 20:45:10 +0000 (UTC) From: Chris Rees <crees@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r366148 - head/Mk Message-ID: <201408252045.s7PKjAqa025152@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: crees Date: Mon Aug 25 20:45:09 2014 New Revision: 366148 URL: http://svnweb.freebsd.org/changeset/ports/366148 QAT: https://qat.redports.org/buildarchive/r366148/ Log: Please stop using USE_PGSQL and follow my friendly hints, thanks. Reviewed by: bapt Modified: head/Mk/bsd.database.mk Modified: head/Mk/bsd.database.mk ============================================================================== --- head/Mk/bsd.database.mk Mon Aug 25 20:29:20 2014 (r366147) +++ head/Mk/bsd.database.mk Mon Aug 25 20:45:09 2014 (r366148) @@ -240,6 +240,9 @@ _WANT_PGSQL_VER+=${version} . endfor . endif _WANT_PGSQL_VER?= ${WANT_PGSQL_VER} +DEV_WARNING+= "Do not use USE_PGSQL. This port should use USES+= pgsql:${WANT_PGSQL_VER:C,^[0-9],&.,}" +. else +DEV_WARNING+= "Do not use USE_PGSQL. This port should use USES+= pgsql" . endif . if !empty(_WANT_PGSQL_VER) @@ -287,11 +290,17 @@ _USE_PGSQL_DEP_server= postgres . if ${USE_PGSQL:M${depend}} BUILD_DEPENDS+= ${_USE_PGSQL_DEP_${depend}}:${PORTSDIR}/databases/postgresql${PGSQL_VER}-${depend} RUN_DEPENDS+= ${_USE_PGSQL_DEP_${depend}}:${PORTSDIR}/databases/postgresql${PGSQL_VER}-${depend} +_PGSQL_DEV_WARN+= ${depend} . elif ${USE_PGSQL:M${depend}\:*} BUILD_DEPENDS+= ${NONEXISTENT}:${PORTSDIR}/databases/postgresql${PGSQL_VER}-${depend}:${USE_PGSQL:M${depend}\:*:C,^[^:]*\:,,} +_PGSQL_DEV_WARN+= ${depend}:${USE_PGSQL:M${depend}\:*:C,^[^:]*\:,,} . endif . endfor +. ifdef _PGSQL_DEV_WARN +DEV_WARNING+= "and WANT_PGSQL= ${_PGSQL_DEV_WARN}" +. endif + .else IGNORE?= cannot install: unknown PostgreSQL version: ${PGSQL_VER} .endif # Check for correct version
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201408252045.s7PKjAqa025152>