diff options
author | wiz <wiz> | 2000-09-10 20:59:06 +0000 |
---|---|---|
committer | wiz <wiz> | 2000-09-10 20:59:06 +0000 |
commit | 252af93de6567829bcc01794a5448af68b2f409c (patch) | |
tree | 6a2ecd364477ebb8a59829b463b1fcd3574aeef2 /lang | |
parent | cb1b45b5c38cf0285af43c07de14971b6f90aa47 (diff) | |
download | pkgsrc-252af93de6567829bcc01794a5448af68b2f409c.tar.gz |
Don't check for libnet (we're not BeOS, after all). Addresses pkg/9005.
Diffstat (limited to 'lang')
-rw-r--r-- | lang/python/files/patch-sum | 4 | ||||
-rw-r--r-- | lang/python/patches/patch-ab | 14 | ||||
-rw-r--r-- | lang/python/patches/patch-ac | 53 |
3 files changed, 70 insertions, 1 deletions
diff --git a/lang/python/files/patch-sum b/lang/python/files/patch-sum index c34b8da516f..55360f1b274 100644 --- a/lang/python/files/patch-sum +++ b/lang/python/files/patch-sum @@ -1,3 +1,5 @@ -$NetBSD: patch-sum,v 1.1 1999/07/09 13:54:10 agc Exp $ +$NetBSD: patch-sum,v 1.2 2000/09/10 20:59:06 wiz Exp $ MD5 (patch-aa) = 92cd2dace0eb2cc5e0d28ce8d26472ec +MD5 (patch-ab) = 44ceb9b4e2e5fe8430e53fcf400a6d88 +MD5 (patch-ac) = 07c1bb21ea1df7e6bf8fa2b3c95c5617 diff --git a/lang/python/patches/patch-ab b/lang/python/patches/patch-ab new file mode 100644 index 00000000000..561d98ece96 --- /dev/null +++ b/lang/python/patches/patch-ab @@ -0,0 +1,14 @@ +$NetBSD: patch-ab,v 1.4 2000/09/10 20:59:07 wiz Exp $ + +If libnet is installed, this check results in a link error. -- wiz + +--- configure.in.orig Sat Apr 10 18:01:48 1999 ++++ configure.in +@@ -548,7 +548,6 @@ + *) + AC_CHECK_LIB(nsl, t_open, [LIBS="-lnsl $LIBS"]) # SVR4 + AC_CHECK_LIB(socket, socket, [LIBS="-lsocket $LIBS"], [], $LIBS) # SVR4 sockets +-AC_CHECK_LIB(net, socket, [LIBS="-lnet $LIBS"], [], $LIBS) # BeOS + ;; + esac + diff --git a/lang/python/patches/patch-ac b/lang/python/patches/patch-ac new file mode 100644 index 00000000000..f3e23c4cbe1 --- /dev/null +++ b/lang/python/patches/patch-ac @@ -0,0 +1,53 @@ +$NetBSD: patch-ac,v 1.4 2000/09/10 20:59:07 wiz Exp $ + +If libnet is installed, this check results in a link error. -- wiz + +--- configure.orig Sat Apr 10 18:02:18 1999 ++++ configure +@@ -2499,46 +2499,6 @@ + echo "$ac_t""no" 1>&6 + fi + # SVR4 sockets +-echo $ac_n "checking for socket in -lnet""... $ac_c" 1>&6 +-echo "configure:2504: checking for socket in -lnet" >&5 +-ac_lib_var=`echo net'_'socket | sed 'y%./+-%__p_%'` +-if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then +- echo $ac_n "(cached) $ac_c" 1>&6 +-else +- ac_save_LIBS="$LIBS" +-LIBS="-lnet $LIBS $LIBS" +-cat > conftest.$ac_ext <<EOF +-#line 2512 "configure" +-#include "confdefs.h" +-/* Override any gcc2 internal prototype to avoid an error. */ +-/* We use char because int might match the return type of a gcc2 +- builtin and then its argument prototype would still apply. */ +-char socket(); +- +-int main() { +-socket() +-; return 0; } +-EOF +-if { (eval echo configure:2523: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +- rm -rf conftest* +- eval "ac_cv_lib_$ac_lib_var=yes" +-else +- echo "configure: failed program was:" >&5 +- cat conftest.$ac_ext >&5 +- rm -rf conftest* +- eval "ac_cv_lib_$ac_lib_var=no" +-fi +-rm -f conftest* +-LIBS="$ac_save_LIBS" +- +-fi +-if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then +- echo "$ac_t""yes" 1>&6 +- LIBS="-lnet $LIBS" +-else +- echo "$ac_t""no" 1>&6 +-fi +- # BeOS + ;; + esac + |