SF.net SVN: gar:[23432] csw/mgar/pkg/nmap/trunk/Makefile

guengel at users.sourceforge.net guengel at users.sourceforge.net
Sat Apr 19 17:19:58 CEST 2014


Revision: 23432
          http://sourceforge.net/p/gar/code/23432
Author:   guengel
Date:     2014-04-19 15:19:54 +0000 (Sat, 19 Apr 2014)
Log Message:
-----------
nmap/trunk: Fixed build on sparc.

Modified Paths:
--------------
    csw/mgar/pkg/nmap/trunk/Makefile

Modified: csw/mgar/pkg/nmap/trunk/Makefile
===================================================================
--- csw/mgar/pkg/nmap/trunk/Makefile	2014-04-19 12:51:55 UTC (rev 23431)
+++ csw/mgar/pkg/nmap/trunk/Makefile	2014-04-19 15:19:54 UTC (rev 23432)
@@ -35,14 +35,13 @@
 RUNTIME_DEP_PKGS_CSWnmap += CSWlibpcap1
 RUNTIME_DEP_PKGS_CSWnmap += CSWlibstdc++6
 RUNTIME_DEP_PKGS_CSWnmap += CSWlibgcc-s1
-RUNTIME_DEP_PKGS_CSWnmap += CSWlua
+RUNTIME_DEP_PKGS_CSWnmap += CSWliblua5-2
 RUNTIME_DEP_PKGS_CSWnmap += CSWpython
+CHECKPKG_OVERRIDES_CSWnmap += surplus-dependency|CSWpython
 
-# Tons of docs and identification of programs installed there
-CHECKPKG_OVERRIDES_CSWnmap += file-with-bad-content
-
 PACKAGES += CSWzenmap
 SPKG_DESC_CSWzenmap = zenmap
+ARCHALL_CSWzenmap = 1
 PKGFILES_CSWzenmap += $(bindir)/zenmap
 PKGFILES_CSWzenmap += $(bindir)/nmapfe
 PKGFILES_CSWzenmap += $(bindir)/xnmap
@@ -53,6 +52,12 @@
 RUNTIME_DEP_PKGS_CSWzenmap += CSWnmap
 RUNTIME_DEP_PKGS_CSWzenmap += CSWpy-gtk
 RUNTIME_DEP_PKGS_CSWzenmap += CSWpy-gobject
+CHECKPKG_OVERRIDES_CSWzenmap += surplus-dependency|CSWnmap
+CHECKPKG_OVERRIDES_CSWzenmap += catalogname-does-not-start-with-py_
+CHECKPKG_OVERRIDES_CSWzenmap += pkgname-does-not-start-with-CSWpy-
+CHECKPKG_OVERRIDES_CSWzenmap += pkginfo-description-not-starting-with-uppercase|zenmap
+CHECKPKG_OVERRIDES_CSWzenmap += file-with-bad-content|/usr/local|root/opt/csw/lib/python2.6/site-packages/zenmapCore/Paths.py
+CHECKPKG_OVERRIDES_CSWzenmap += file-with-bad-content|/usr/share|root/opt/csw/lib/python2.6/site-packages/zenmapCore/NmapParser.py
 
 CONFIGURE_ARGS  = $(DIRPATHS)
 CONFIGURE_ARGS += --with-libpcre=$(prefix)
@@ -82,3 +87,8 @@
 	ginstall $(WORKDIR)/vasprintf.c $(WORKSRC)/nsock/src
 	ginstall $(WORKDIR)/file.h $(WORKSRC)/nsock/src
 	@$(MAKECOOKIE)
+
+post-configure:
+# it happens, that this define isn't set due to missing /dev/ip in solaris zones.
+	gsed -i -e 's;^/\* #undef HAVE_STREAMS_MIB2 \*/;#define HAVE_STREAMS_MIB2 1;' $(WORKSRC)/libdnet-stripped/include/config.h
+	@$(MAKECOOKIE)

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list