mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 14:49:29 +00:00
Fix some errors in macosx build scripts
This commit is contained in:
parent
2181443b63
commit
17b2da7731
2 changed files with 2 additions and 3 deletions
|
|
@ -2,7 +2,6 @@
|
|||
# Zenmap, Ncat, and Ndiff.
|
||||
|
||||
NMAP_VERSION := $(shell echo NMAP_VERSION | $(CPP) -imacros ../nmap.h - | sed -n '$$s/[" ]//g;$$p')
|
||||
NMAP_VERSION := $(shell echo NMAP_NUM_VERSION | $(CPP) -imacros ../nmap.h - | sed -n '$$s/[" ]//g;$$p')
|
||||
#OSX_VERSION=$(shell sw_vers -productVersion | cut -d'.' -f1,2 | tr -d ' ')
|
||||
OSX_VERSION=10.11
|
||||
OSX_MIN_VERSION = 10.9
|
||||
|
|
@ -169,7 +168,7 @@ xstage-nping: export-$(NPING_BUILD_DIR)
|
|||
make -C $(NPING_BUILD_DIR) install-nping DESTDIR="`pwd`/$(NPING_STAGING_DIR)" OPENSSL_LIBS="$(OPENSSL_STATIC)"
|
||||
|
||||
openssl.modules: ../nmap.h
|
||||
sed -i '/ENTITY nmap_version/s/".*"/"$(NMAP_VERSION)"/' $@
|
||||
sed -i.bak '/ENTITY nmap_version/s/\".*\"/\"$(NMAP_VERSION)\"/' $@
|
||||
|
||||
stage-%: export-tarball openssl.modules
|
||||
jhbuild -m "file://`pwd`/openssl.modules" build $*
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0"?>
|
||||
<!DOCTYPE moduleset SYSTEM "moduleset.dtd" [
|
||||
<!ENTITY nmap_version "7.91">
|
||||
<!ENTITY nmap_version "7.91SVN">
|
||||
]>
|
||||
<?xml-stylesheet type="text/xsl" href="moduleset.xsl"?>
|
||||
<moduleset>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue