diff options
| author | Jeffery To <jeffery.to@gmail.com> | 2023-03-06 22:09:53 +0800 |
|---|---|---|
| committer | Josef Schlehofer <pepe.schlehofer@gmail.com> | 2023-11-02 01:15:50 +0100 |
| commit | 49880edcb3b744bcde4edf911e0fa4ed654d4b6b (patch) | |
| tree | 3fbef8e6bb2b0e540423efe132c2d35229531114 | |
| parent | d66edd21e74d014e9b6c9b500a13fa2cae93c7e9 (diff) | |
nmap: Force old Python build process
This package isn't compatible with the new Python build process yet, so
force the old build process for now.
This also adds a call to Py3Build/Install, for when the new build
process can be used.
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit da55275f3bbf3987771b97f7722d3023a0a8d7c4)
| -rw-r--r-- | net/nmap/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/net/nmap/Makefile b/net/nmap/Makefile index 7e097e13b..b84b2ccd8 100644 --- a/net/nmap/Makefile +++ b/net/nmap/Makefile @@ -14,7 +14,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=nmap PKG_VERSION:=7.93 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_MAINTAINER:=Nuno Gonçalves <nunojpg@gmail.com> PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 @@ -27,6 +27,7 @@ PKG_CPE_ID:=cpe:/a:nmap:nmap PKG_BUILD_PARALLEL:=1 PKG_INSTALL:=1 PYTHON3_PKG_BUILD:=0 +PYTHON3_PKG_FORCE_DISTUTILS_SETUP:=1 include $(INCLUDE_DIR)/package.mk include ../../lang/python/python3-package.mk @@ -150,6 +151,11 @@ define Build/Compile $(call Py3Build/Compile) endef +define Build/Install + $(call Build/Install/Default,) + $(call Py3Build/Install) +endef + define Package/nmap/install $(INSTALL_DIR) $(1)/usr/bin $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/nmap $(1)/usr/bin/ |
