Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Oct 2016 12:47:22 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r424694 - branches/2016Q4/devel/git-cinnabar
Message-ID:  <201610261247.u9QClMP4024690@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Wed Oct 26 12:47:22 2016
New Revision: 424694
URL: https://svnweb.freebsd.org/changeset/ports/424694

Log:
  MFH: r424693
  
  devel/git-cinnabar: silence a warning in non-poudriere build
  
  != (like :=) expands variables during assignment, but PORTSDIR is only
  guaranteed to be defined after .include <bsd.port*.mk>. 2016Q4 isn't
  completely broken due to lack of r424133.
  
    $ make clean all -C devel/git-cinnabar
    make[1]: chdir /devel/git: No such file or directory
    make: "/usr/ports/devel/git-cinnabar/Makefile" line 26: warning: "make -V MAKE_ENV -C /devel/git" returned non-zero status
    make[1]: chdir /devel/git: No such file or directory
    make: "/usr/ports/devel/git-cinnabar/Makefile" line 27: warning: "make -V MAKE_ARGS -C /devel/git" returned non-zero status
  
  Reported by:	vd
  Approved by:	ports-secteam blanket

Modified:
  branches/2016Q4/devel/git-cinnabar/Makefile
Directory Properties:
  branches/2016Q4/   (props changed)

Modified: branches/2016Q4/devel/git-cinnabar/Makefile
==============================================================================
--- branches/2016Q4/devel/git-cinnabar/Makefile	Wed Oct 26 12:36:14 2016	(r424693)
+++ branches/2016Q4/devel/git-cinnabar/Makefile	Wed Oct 26 12:47:22 2016	(r424694)
@@ -20,8 +20,8 @@ USES=		gmake python:2.7,run shebangfix
 SHEBANG_LANG=	python2.7
 SHEBANG_FILES=	${PORTNAME} git-remote-hg
 .ifnmake describe
-MAKE_ENV!=	${MAKE} -V MAKE_ENV -C ${PORTSDIR}/devel/git
-MAKE_ARGS!=	${MAKE} -V MAKE_ARGS -C ${PORTSDIR}/devel/git
+MAKE_ENV!=	${MAKE} -V MAKE_ENV -C ${.CURDIR}/../git
+MAKE_ARGS!=	${MAKE} -V MAKE_ARGS -C ${.CURDIR}/../git
 .endif
 MAKE_ENV+=	PYTHON_PATH="${PYTHON_CMD}"
 DATADIR=	${PREFIX}/libexec/git-core



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