Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Nov 2017 07:45:09 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r454742 - head/www/py-buku
Message-ID:  <201711230745.vAN7j92X068838@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Thu Nov 23 07:45:08 2017
New Revision: 454742
URL: https://svnweb.freebsd.org/changeset/ports/454742

Log:
  Ignore on the package builders when default version of python is not 3.6+
  
  Note: This port passed tier-1 builds with ports-mgmt/poudriere and
  ports-mgmt/poudriere-devel without this measurement. Once the package builders
  are updated this should not be needed anymore.
  
  Reported by:	pkg-fallout

Modified:
  head/www/py-buku/Makefile

Modified: head/www/py-buku/Makefile
==============================================================================
--- head/www/py-buku/Makefile	Thu Nov 23 06:32:43 2017	(r454741)
+++ head/www/py-buku/Makefile	Thu Nov 23 07:45:08 2017	(r454742)
@@ -28,7 +28,14 @@ GH_PROJECT=	Buku
 
 PLIST_FILES=	man/man1/buku.1.gz
 
+.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
+
 post-install:
 	${INSTALL_MAN} ${WRKSRC}/buku.1 ${STAGEDIR}${MANPREFIX}/man/man1
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>



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