svn commit: r490950 - head/www/py-url

Mark Linimon linimon at FreeBSD.org
Tue Jan 22 13:32:51 UTC 2019


Author: linimon
Date: Tue Jan 22 13:32:50 2019
New Revision: 490950
URL: https://svnweb.freebsd.org/changeset/ports/490950

Log:
  - USES compiler:c++11-lang is needed to fix the build on GCC-based
    architectures such as powerpc64. [1]
  - Level up port compliance further by stripping shared libraries [2]
  
  Submitted by:	Piotr Kubaj [1]
  Approved by:	maintainer [2]

Modified:
  head/www/py-url/Makefile

Modified: head/www/py-url/Makefile
==============================================================================
--- head/www/py-url/Makefile	Tue Jan 22 13:03:42 2019	(r490949)
+++ head/www/py-url/Makefile	Tue Jan 22 13:32:50 2019	(r490950)
@@ -2,6 +2,7 @@
 
 PORTNAME=	url
 DISTVERSION=	0.4.2
+PORTREVISION=	1
 CATEGORIES=	www python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -13,7 +14,10 @@ LICENSE=	MIT
 
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR}
 
-USES=		python
+USES=		compiler:c++11-lang python
 USE_PYTHON=	cython distutils autoplist
+
+post-install:
+	${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/url/url.so
 
 .include <bsd.port.mk>


More information about the svn-ports-head mailing list