Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Apr 2015 07:03:19 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r383839 - head/x11-toolkits/py-wxPython30
Message-ID:  <201504120703.t3C73J8K014544@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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}" \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201504120703.t3C73J8K014544>