Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Feb 2019 05:07:58 +0000 (UTC)
From:      Ashish SHUKLA <ashish@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r493242 - head/net-im/ejabberd
Message-ID:  <201902180507.x1I57w7Y035898@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ashish
Date: Mon Feb 18 05:07:58 2019
New Revision: 493242
URL: https://svnweb.freebsd.org/changeset/ports/493242

Log:
  - Use PKG_BIN make variable, instead of pkg in pre-everything target
    to fix brokenness when building with Synth (ports-mgmt/synth)
  
  Reported by:	Bryan Erickson <freebsd at xorcara dot com>

Modified:
  head/net-im/ejabberd/Makefile

Modified: head/net-im/ejabberd/Makefile
==============================================================================
--- head/net-im/ejabberd/Makefile	Mon Feb 18 04:59:39 2019	(r493241)
+++ head/net-im/ejabberd/Makefile	Mon Feb 18 05:07:58 2019	(r493242)
@@ -158,7 +158,7 @@ ICONV_LDFLAGS=		${ICONV_LIB}
 DOCS_MAKE_ARGS_OFF=	NOPORTDOCS=yes
 
 pre-everything::
-	@if pkg query %n-%v net-im/ejabberd; then \
+	@if ${PKG_BIN} query %n-%v net-im/ejabberd; then \
 		${ECHO_MSG} needs to be uninstalled, before this port build could proceed. ; \
 		${ECHO_MSG} For details: https://github.com/processone/ejabberd/issues/2194 ; \
 		${ECHO_MSG} Sorry for the inconvenience. ; \



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