svn commit: r383839 - head/x11-toolkits/py-wxPython30
John Marino
marino at FreeBSD.org
Sun Apr 12 07:03:20 UTC 2015
Author: marino
Date: Sun Apr 12 07:03:19 2015
New Revision: 383839
URL: https://svnweb.freebsd.org/changeset/ports/383839
Log:
x11-toolkits/py-wxPython30: Unbreak on F10
It turns out that wxPython30 won't build with clang at all. The c++ code
is illegal according to clang (e.g. illegal cast), so remove the
USES=compiler setting and replace with USE_GCC=yes. Tested on F8 and F10.
I apologize for adding the GCC dependence for F10+ users but I didn't see
any other simple fix.
Approved by: blanket
Modified:
head/x11-toolkits/py-wxPython30/Makefile
Modified: head/x11-toolkits/py-wxPython30/Makefile
==============================================================================
--- head/x11-toolkits/py-wxPython30/Makefile Sun Apr 12 05:34:57 2015 (r383838)
+++ head/x11-toolkits/py-wxPython30/Makefile Sun Apr 12 07:03:19 2015 (r383839)
@@ -2,7 +2,7 @@
PORTNAME= wxPython
PORTVERSION= 3.0.0.0
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= x11-toolkits python
MASTER_SITES= SF/wxpython/wxPython/${PORTVERSION}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -16,7 +16,7 @@ DIST_SUBDIR= python
WRKSRC= ${WRKDIR}/${DISTNAME}/wxPython
-USES= compiler:c++11-lib python tar:bzip2
+USES= python tar:bzip2
.if defined(WITH_WXVERSION_ONLY)
@@ -41,7 +41,8 @@ WX_PYTHON_DIR= wx-${WX_VERSION}-${WXPORT
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}wxPython-common>0:${PORTSDIR}/x11-toolkits/py-wxPython-common
USES+= gettext pkgconfig
-USE_WX= 3.0
+USE_WX= 3.0
+USE_GCC= yes
WANT_UNICODE= yes
USE_PYTHON= distutils autoplist
PYDISTUTILS_BUILDARGS= WX_CONFIG="${WX_CONFIG}" \
More information about the svn-ports-head
mailing list