diff options
author | ashish <ashish@FreeBSD.org> | 2019-02-18 13:07:58 +0800 |
---|---|---|
committer | ashish <ashish@FreeBSD.org> | 2019-02-18 13:07:58 +0800 |
commit | fcdb715cf361aac5ea1f431fcc9c8b5aa833f03c (patch) | |
tree | d686b27cc4aefd8bd52040d693cb47d6c728ae32 | |
parent | df26ec8d5cb2fa5480dcbb1e93b824df38018b11 (diff) | |
download | freebsd-ports-gnome-fcdb715cf361aac5ea1f431fcc9c8b5aa833f03c.tar.gz freebsd-ports-gnome-fcdb715cf361aac5ea1f431fcc9c8b5aa833f03c.tar.zst freebsd-ports-gnome-fcdb715cf361aac5ea1f431fcc9c8b5aa833f03c.zip |
- 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>
-rw-r--r-- | net-im/ejabberd/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net-im/ejabberd/Makefile b/net-im/ejabberd/Makefile index 286a55f4bb69..c10388f093ff 100644 --- a/net-im/ejabberd/Makefile +++ b/net-im/ejabberd/Makefile @@ -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. ; \ |