svn commit: r512098 - head/devel/py-uhid-freebsd

Piotr Kubaj pkubaj at FreeBSD.org
Sun Sep 15 11:30:18 UTC 2019


Author: pkubaj
Date: Sun Sep 15 11:30:17 2019
New Revision: 512098
URL: https://svnweb.freebsd.org/changeset/ports/512098

Log:
  devel/py-uhid-freebsd: fix build on GCC architectures
  
  Use C++11 compiler:
  uhid_freebsd.cpp:43: error: ISO C++ forbids declaration of 'devRegex' with no type
  uhid_freebsd.cpp:43: error: 'regex' is not a member of 'std'
  uhid_freebsd.cpp:44: error: 'cmatch' is not a member of 'std'
  uhid_freebsd.cpp:44: error: expected `;' before 'cmDev'
  
  Approved by:	mentors (implicit approval)

Modified:
  head/devel/py-uhid-freebsd/Makefile

Modified: head/devel/py-uhid-freebsd/Makefile
==============================================================================
--- head/devel/py-uhid-freebsd/Makefile	Sun Sep 15 10:51:13 2019	(r512097)
+++ head/devel/py-uhid-freebsd/Makefile	Sun Sep 15 11:30:17 2019	(r512098)
@@ -12,7 +12,7 @@ COMMENT=		Python library to retrieve information on uh
 LICENSE=		BSD2CLAUSE
 LICENSE_FILE=		${WRKSRC}/LICENSE
 
-USES=			python
+USES=			compiler:c++11-lang python
 USE_PYTHON=		autoplist distutils
 
 .include <bsd.port.mk>


More information about the svn-ports-head mailing list