[Midnightbsd-cvs] mports [20291] trunk/textproc/py-libxml2/Makefile: fix build of py-libxml2

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sun Sep 27 11:34:01 EDT 2015


Revision: 20291
          http://svnweb.midnightbsd.org/mports/?rev=20291
Author:   laffer1
Date:     2015-09-27 11:34:01 -0400 (Sun, 27 Sep 2015)
Log Message:
-----------
fix build of py-libxml2

Modified Paths:
--------------
    trunk/textproc/py-libxml2/Makefile

Modified: trunk/textproc/py-libxml2/Makefile
===================================================================
--- trunk/textproc/py-libxml2/Makefile	2015-09-27 15:32:20 UTC (rev 20290)
+++ trunk/textproc/py-libxml2/Makefile	2015-09-27 15:34:01 UTC (rev 20291)
@@ -1,6 +1,6 @@
 # $MidnightBSD$
 
-PORTREVISION=	4
+PORTREVISION=	5
 CATEGORIES=	textproc gnome python
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
@@ -14,9 +14,8 @@
 PLIST=		${.CURDIR}/pkg-plist
 
 USE_GNOME+=	libxml2
-USE_PYTHON=	2
-USE_PYDISTUTILS=yes
-PYDISTUTILS_EGGINFO=	libxml2_python-${PORTVERSION}-py${PYTHON_VER}.egg-info
+USES+=		python:2
+USE_PYTHON=	autoplist distutils
 
 CPPFLAGS+=	`${PYTHON_VERSION}-config --cflags`
 LDFLAGS+=	-L${LOCALBASE}/lib `${PYTHON_VERSION}-config --libs`



More information about the Midnightbsd-cvs mailing list