svn commit: r399939 - head/net-im/papyon

Don Lewis truckman at FreeBSD.org
Wed Oct 21 23:55:23 UTC 2015


Author: truckman
Date: Wed Oct 21 23:55:22 2015
New Revision: 399939
URL: https://svnweb.freebsd.org/changeset/ports/399939

Log:
  Unbreak build with default python version < 3.4

Modified:
  head/net-im/papyon/Makefile

Modified: head/net-im/papyon/Makefile
==============================================================================
--- head/net-im/papyon/Makefile	Wed Oct 21 22:46:07 2015	(r399938)
+++ head/net-im/papyon/Makefile	Wed Oct 21 23:55:22 2015	(r399939)
@@ -24,4 +24,11 @@ USE_GNOME=	pygobject
 USES=		python
 USE_PYTHON=	distutils
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 3400
+BUILD_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}enum34>0:${PORTSDIR}/devel/py-enum34
+RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}enum34>0:${PORTSDIR}/devel/py-enum34
+.endif
+
+.include <bsd.port.post.mk>


More information about the svn-ports-head mailing list