فهرست منبع

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

Thorsten Hohmeier 21 سال پیش
والد
کامیت
1ec4a6890d
1فایلهای تغییر یافته به همراه3 افزوده شده و 1 حذف شده
  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