summaryrefslogtreecommitdiffstats
path: root/source/n/nmap/nmap.no.internet.requirement.for.build.diff
diff options
context:
space:
mode:
Diffstat (limited to 'source/n/nmap/nmap.no.internet.requirement.for.build.diff')
-rw-r--r--source/n/nmap/nmap.no.internet.requirement.for.build.diff16
1 files changed, 16 insertions, 0 deletions
diff --git a/source/n/nmap/nmap.no.internet.requirement.for.build.diff b/source/n/nmap/nmap.no.internet.requirement.for.build.diff
new file mode 100644
index 000000000..5e80c9a13
--- /dev/null
+++ b/source/n/nmap/nmap.no.internet.requirement.for.build.diff
@@ -0,0 +1,16 @@
+--- ./Makefile.in.orig 2024-04-18 11:19:35.000000000 -0500
++++ ./Makefile.in 2024-05-20 13:00:18.665855374 -0500
+@@ -361,11 +361,11 @@
+ DEFAULT_PYTHON_PATH = /usr/bin/env python3
+
+ build-zenmap: $(ZENMAPDIR)/pyproject.toml $(ZENMAPDIR)/zenmapCore/Version.py
+- $(PYTHON) -m build $(ZENMAPDIR)/
++ $(PYTHON) -m build --wheel --no-isolation $(ZENMAPDIR)/
+
+ install-zenmap: $(ZENMAPDIR)/pyproject.toml
+ $(INSTALL) -d $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man1 $(DESTDIR)$(deskdir)
+- $(PYTHON) -m pip install $(ZENMAPDIR)/ $(if $(DESTDIR),--root "$(DESTDIR)")
++ $(PYTHON) -m pip install --no-build-isolation $(ZENMAPDIR)/ $(if $(DESTDIR),--root "$(DESTDIR)")
+ $(INSTALL) -c -m 644 docs/zenmap.1 $(DESTDIR)$(mandir)/man1/
+ $(INSTALL) -c -m 644 $(ZENMAPDIR)/install_scripts/unix/*.desktop $(DESTDIR)$(deskdir)
+ # Create a symlink from nmapfe to zenmap if nmapfe doesn't exist or is