Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Oct 2017 08:19:55 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r451509 - branches/2017Q4/devel/py-doit
Message-ID:  <201710080819.v988JtoM060017@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Sun Oct  8 08:19:55 2017
New Revision: 451509
URL: https://svnweb.freebsd.org/changeset/ports/451509

Log:
  MFH: r451505
  
  Ignore on the package builders
  
  Reported by:	pkg-fallout

Modified:
  branches/2017Q4/devel/py-doit/Makefile
Directory Properties:
  branches/2017Q4/   (props changed)

Modified: branches/2017Q4/devel/py-doit/Makefile
==============================================================================
--- branches/2017Q4/devel/py-doit/Makefile	Sun Oct  8 08:19:30 2017	(r451508)
+++ branches/2017Q4/devel/py-doit/Makefile	Sun Oct  8 08:19:55 2017	(r451509)
@@ -23,9 +23,14 @@ USE_PYTHON=	distutils autoplist
 
 NO_ARCH=	yes
 
-.include <bsd.port.pre.mk>
-
 do-test:
 	@cd ${WRKSRC} && ${PYTHON_CMD} -m pytest
+
+.include <bsd.port.pre.mk>
+
+.if defined(PACKAGE_BUILDING) && !defined(PACKAGE_BUILDING_FLAVORS) && \
+    ${PYTHON_VER} != ${PYTHON_DEFAULT}
+IGNORE=	you have python ${PYTHON_DEFAULT} set as the default, and this needs ${PYTHON_VER}
+.endif
 
 .include <bsd.port.post.mk>



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