Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Nov 2015 15:18:55 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r400621 - head/net/tiny-network-utilities
Message-ID:  <201511011518.tA1FItrV025129@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Sun Nov  1 15:18:55 2015
New Revision: 400621
URL: https://svnweb.freebsd.org/changeset/ports/400621

Log:
  Ignore on the package builders when default version of python is not 3.4+
  
  Reported by:	pkg-fallout

Modified:
  head/net/tiny-network-utilities/Makefile

Modified: head/net/tiny-network-utilities/Makefile
==============================================================================
--- head/net/tiny-network-utilities/Makefile	Sun Nov  1 15:12:06 2015	(r400620)
+++ head/net/tiny-network-utilities/Makefile	Sun Nov  1 15:18:55 2015	(r400621)
@@ -25,6 +25,12 @@ FILES_EXEC=	tiny-dhcp-server tiny-udp-pr
 FILES_LIB=	net_checksums tiny_utils
 PLIST_FILES=	$(FILES_EXEC:%=bin/%) $(FILES_LIB:%=${PYTHON_SITELIBDIR}/%.py)
 
+.include <bsd.port.pre.mk>
+
+.if defined(PACKAGE_BUILDING) && ${PYTHON_VER} != ${PYTHON_DEFAULT}
+IGNORE=	you have python ${PYTHON_DEFAULT} set as the default, and this needs ${PYTHON_VER}
+.endif
+
 do-install:
 .for file_exec in ${FILES_EXEC}
 	${INSTALL_SCRIPT} ${WRKSRC}/${file_exec}.py \
@@ -36,4 +42,4 @@ do-install:
 		${STAGEDIR}${PYTHON_SITELIBDIR}/${file_lib}.py
 .endfor
 
-.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?201511011518.tA1FItrV025129>