git: 60f83a812292 - main - math/py-primecountpy: chase primecount

From: Thierry Thomas <thierry_at_FreeBSD.org>
Date: Sat, 17 Sep 2022 16:35:46 UTC
The branch main has been updated by thierry:

URL: https://cgit.FreeBSD.org/ports/commit/?id=60f83a8122927b5e068b4bcdde3a61889bc0c969

commit 60f83a8122927b5e068b4bcdde3a61889bc0c969
Author:     Thierry Thomas <thierry@FreeBSD.org>
AuthorDate: 2022-09-17 16:20:26 +0000
Commit:     Thierry Thomas <thierry@FreeBSD.org>
CommitDate: 2022-09-17 16:35:39 +0000

    math/py-primecountpy: chase primecount
    
    Since I’m there strip the library.
---
 math/py-primecountpy/Makefile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/math/py-primecountpy/Makefile b/math/py-primecountpy/Makefile
index aa5fa74d559d..6f5aafa205c7 100644
--- a/math/py-primecountpy/Makefile
+++ b/math/py-primecountpy/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	primecountpy
 PORTVERSION=	0.1.0
+PORTREVISION=	1
 CATEGORIES=	math python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -18,6 +19,9 @@ RUN_DEPENDS=	${PYDEPS}
 
 USES=		localbase python:3.7+
 USE_PYTHON=	cython distutils
+.if !defined(WITH_DEBUG)
+LDFLAGS+=	-s
+.endif
 
 PYDEPS=	${PYTHON_PKGNAMEPREFIX}cysignals>0:devel/py-cysignals@${PY_FLAVOR}