svn commit: r454742 - head/www/py-buku

Emanuel Haupt ehaupt at FreeBSD.org
Thu Nov 23 07:45:10 UTC 2017


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>


More information about the svn-ports-all mailing list