I had to add libsqlite3 and libz in static linking to make it work.
Remove Macports; nmap-update now uses static libs
nmap-update now uses static libraries linking for libapr, libsvn,
libserf, libz and libsqlite3
Add dependencies requiered for nmap-update's static libraries
Add Mac libs' flags, if specified to the makefile
Remove duplicated SVN_LIBS option
Modifies wrong usages
I removed zlib and sqlite because gtk already had them installed with Jhbuild. Instead, we now use the default versions chipped with it.
I also changed the gtk path by PREFIX.
This works great, now! Do also update the BUILDING.md file to include the required jhbuild build meta-gtk-osx-python step. I also had to delete my .jhbuildrc-custom file and allow the gtk-osx-build-setup.sh script to recreate it because it was incompatible with a recent update, but I don't know that that belongs in our documentation.
jhbuild build meta-gtk-osx-python
@w0nan0w Found a slight problem: the MAC_FLAGS variable is not part of the configure script, so @MAC_FLAGS@ will not be substituted during configure. For OS X, this isn't a problem because we pass MAC_FLAGS on the command line, but for other platforms, it results in the literal string @MAC_FLAGS@ being passed to the linker. The line should instead be an empty assignment:
This ensures it will be blank unless it is passed via the make command line.
@dmiller-nmap, I just opened a new PR, #457 to update this one. I also updated BUNDLING.md directly on the svn trunk with the following changes:
Thank you again for all your work!