git: 0d6edc716e45 - main - security/py-pwntools: Fix declaration of PYDISTUTILS_INSTALLARGS
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 05 Jul 2025 14:31:13 UTC
The branch main has been updated by ehaupt:
URL: https://cgit.FreeBSD.org/ports/commit/?id=0d6edc716e45d0c6a19d8c796785dcc720f13fd5
commit 0d6edc716e45d0c6a19d8c796785dcc720f13fd5
Author: Emanuel Haupt <ehaupt@FreeBSD.org>
AuthorDate: 2025-07-05 14:26:59 +0000
Commit: Emanuel Haupt <ehaupt@FreeBSD.org>
CommitDate: 2025-07-05 14:31:09 +0000
security/py-pwntools: Fix declaration of PYDISTUTILS_INSTALLARGS
We need to include bsd.port.pre.mk before declaring
PYDISTUTILS_INSTALLARGS to preserve any pre-set values. We will then
include bsd.port.post.mk afterward.
PR: 287992
Reported by: milios@ccsys.com
---
security/py-pwntools/Makefile | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/security/py-pwntools/Makefile b/security/py-pwntools/Makefile
index f68819a83a7b..187252876f64 100644
--- a/security/py-pwntools/Makefile
+++ b/security/py-pwntools/Makefile
@@ -1,6 +1,6 @@
PORTNAME= pwntools
DISTVERSION= 4.14.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= security python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -36,6 +36,8 @@ USES= cpe python
CPE_VENDOR= pwntools_project
USE_PYTHON= autoplist concurrent distutils
+.include <bsd.port.pre.mk>
+
PYDISTUTILS_INSTALLARGS+= --only-use-pwn-command
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>