svn commit: r424694 - branches/2016Q4/devel/git-cinnabar

Jan Beich jbeich at FreeBSD.org
Wed Oct 26 12:47:23 UTC 2016


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


More information about the svn-ports-all mailing list