Explorar el Código

removed STATIC directives from Makefile to force dynamic linking against system libraries. Added netbsd as supported platform.

Thorsten Hohmeier hace 21 años
padre
commit
1ec4a6890d
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  1. 3 1
      netcat/netcat.spec

+ 3 - 1
netcat/netcat.spec

@@ -34,7 +34,7 @@ Class:        BASE
 Group:        Network
 License:      no restrictions
 Version:      1.10
-Release:      20040205
+Release:      20040602
 
 #   list of sources
 Source0:      http://www.atstake.com/research/tools/nc110.tgz
@@ -67,6 +67,7 @@ AutoReqProv:  no
 %prep
     %setup -q -c /netcat-%{version}
     %{l_shtool} subst -e 's;#define HAVE_BIND;#undef HAVE_BIND;g' netcat.c
+    %{l_shtool} subst -e 's;STATIC=[^ ]*;;' Makefile
 
 %build
     os=generic
@@ -74,6 +75,7 @@ AutoReqProv:  no
         *-sunos*   ) os=solaris ;;
         *-linux*   ) os=linux   ;;
         *-freebsd* ) os=freebsd ;;
+        *-netbsd* ) os=netbsd ;;
     esac
     %{l_make} %{l_mflags} $os