diff options
Diffstat (limited to 'meta-oe/recipes-security/nmap/files/nmap-redefine-the-python-library-dir.patch')
-rw-r--r-- | meta-oe/recipes-security/nmap/files/nmap-redefine-the-python-library-dir.patch | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/meta-oe/recipes-security/nmap/files/nmap-redefine-the-python-library-dir.patch b/meta-oe/recipes-security/nmap/files/nmap-redefine-the-python-library-dir.patch index 356b5071bf..5669ccdf6a 100644 --- a/meta-oe/recipes-security/nmap/files/nmap-redefine-the-python-library-dir.patch +++ b/meta-oe/recipes-security/nmap/files/nmap-redefine-the-python-library-dir.patch | |||
@@ -10,20 +10,9 @@ Signed-off-by: Roy Li <rongqing.li@windriver.com> | |||
10 | Makefile.in | 4 ++-- | 10 | Makefile.in | 4 ++-- |
11 | 1 file changed, 2 insertions(+), 2 deletions(-) | 11 | 1 file changed, 2 insertions(+), 2 deletions(-) |
12 | 12 | ||
13 | diff --git a/Makefile.in b/Makefile.in | ||
14 | index 1bb062c..cced2fb 100644 | ||
15 | --- a/Makefile.in | 13 | --- a/Makefile.in |
16 | +++ b/Makefile.in | 14 | +++ b/Makefile.in |
17 | @@ -311,7 +311,7 @@ build-zenmap: $(ZENMAPDIR)/setup.py $(ZENMAPDIR)/zenmapCore/Version.py | 15 | @@ -383,7 +383,7 @@ build-nping: $(NPINGDIR)/Makefile build- |
18 | |||
19 | install-zenmap: $(ZENMAPDIR)/setup.py | ||
20 | $(INSTALL) -d $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man1 | ||
21 | - cd $(ZENMAPDIR) && $(PYTHON) setup.py --quiet install --prefix "$(prefix)" --force $(if $(DESTDIR),--root "$(DESTDIR)") | ||
22 | + cd $(ZENMAPDIR) && $(PYTHON) setup.py --quiet install --prefix "$(prefix)" --install-lib="${PYTHON_SITEPACKAGES_DIR}" --force $(if $(DESTDIR),--root "$(DESTDIR)") | ||
23 | $(INSTALL) -c -m 644 docs/zenmap.1 $(DESTDIR)$(mandir)/man1/ | ||
24 | # Create a symlink from nmapfe to zenmap if nmapfe doesn't exist or is | ||
25 | # already a link. | ||
26 | @@ -328,7 +328,7 @@ build-nping: $(NPINGDIR)/Makefile nbase_build nsock_build netutil_build $(NPINGD | ||
27 | @cd $(NPINGDIR) && $(MAKE) | 16 | @cd $(NPINGDIR) && $(MAKE) |
28 | 17 | ||
29 | install-ndiff: | 18 | install-ndiff: |
@@ -32,6 +21,3 @@ index 1bb062c..cced2fb 100644 | |||
32 | 21 | ||
33 | NSE_FILES = scripts/script.db scripts/*.nse | 22 | NSE_FILES = scripts/script.db scripts/*.nse |
34 | NSE_LIB_LUA_FILES = nselib/*.lua nselib/*.luadoc | 23 | NSE_LIB_LUA_FILES = nselib/*.lua nselib/*.luadoc |
35 | -- | ||
36 | 1.9.1 | ||
37 | |||