[Midnightbsd-cvs] mports [20302] trunk/devel/scons/Makefile: fix build of scons, as seen on magus

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sun Sep 27 14:08:52 EDT 2015


Revision: 20302
          http://svnweb.midnightbsd.org/mports/?rev=20302
Author:   laffer1
Date:     2015-09-27 14:08:51 -0400 (Sun, 27 Sep 2015)
Log Message:
-----------
fix build of scons, as seen on magus

Modified Paths:
--------------
    trunk/devel/scons/Makefile

Modified: trunk/devel/scons/Makefile
===================================================================
--- trunk/devel/scons/Makefile	2015-09-27 17:18:32 UTC (rev 20301)
+++ trunk/devel/scons/Makefile	2015-09-27 18:08:51 UTC (rev 20302)
@@ -3,7 +3,7 @@
 
 PORTNAME=	scons
 PORTVERSION=	2.3.0
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	devel python
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}
 
@@ -14,9 +14,8 @@
 
 RUN_DEPENDS=	gm4:${PORTSDIR}/devel/m4
 
-USE_PYTHON=		2
-USE_PYDISTUTILS=	yes
-PYDISTUTILS_AUTOPLIST=	yes
+USES=		python:2
+USE_PYTHON=	distutils autoplist
 
 PLIST_SUB+=	SCONS_VER=${PORTVERSION}
 
@@ -26,4 +25,5 @@
 		-e 's,distutils\.command\.install\.,setuptools\.command\.install\.,' \
 		${WRKSRC}/setup.py
 	@${FIND} ${WRKSRC} -name \*.orig -delete
+
 .include <bsd.port.mk>



More information about the Midnightbsd-cvs mailing list