pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/libnet fix a broken configure test for Solaris.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/342ee06b0b98
branches:  trunk
changeset: 498400:342ee06b0b98
user:      grant <grant%pkgsrc.org@localhost>
date:      Sun Aug 21 12:21:55 2005 +0000

description:
fix a broken configure test for Solaris.

fixes PR pkg/25083 from Petter Lindquist.

diffstat:

 devel/libnet/distinfo         |   4 ++--
 devel/libnet/patches/patch-ac |  22 ++++++++++++++++++++--
 2 files changed, 22 insertions(+), 4 deletions(-)

diffs (45 lines):

diff -r 0b98cab23612 -r 342ee06b0b98 devel/libnet/distinfo
--- a/devel/libnet/distinfo     Sun Aug 21 11:50:38 2005 +0000
+++ b/devel/libnet/distinfo     Sun Aug 21 12:21:55 2005 +0000
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.5 2005/03/25 17:52:32 adrianp Exp $
+$NetBSD: distinfo,v 1.6 2005/08/21 12:21:55 grant Exp $
 
 SHA1 (libnet-1.0.1b.tar.gz) = 799d14bbc6ec909fb5fc9d7ac5183224f6c84ef5
 RMD160 (libnet-1.0.1b.tar.gz) = f66e279ad3d700e975174f4051d109c0d7c9d574
 Size (libnet-1.0.1b.tar.gz) = 233325 bytes
 SHA1 (patch-aa) = 876755183045f277dd7c113cf1e8c591063058af
 SHA1 (patch-ab) = 2bb117012b2a7e775b358e4dad6ae67757f5eb1f
-SHA1 (patch-ac) = b956e06d78ab77ad2ea461706daa9c42a8a9c00a
+SHA1 (patch-ac) = ce45fbee83e878b040443419533b85c1337742e6
diff -r 0b98cab23612 -r 342ee06b0b98 devel/libnet/patches/patch-ac
--- a/devel/libnet/patches/patch-ac     Sun Aug 21 11:50:38 2005 +0000
+++ b/devel/libnet/patches/patch-ac     Sun Aug 21 12:21:55 2005 +0000
@@ -1,7 +1,25 @@
-$NetBSD: patch-ac,v 1.1 2005/03/25 17:52:32 adrianp Exp $
+$NetBSD: patch-ac,v 1.2 2005/08/21 12:21:55 grant Exp $
 
---- configure.orig     2005-03-25 17:38:37.000000000 +0000
+--- configure.orig     1999-10-28 04:47:27.000000000 +1000
 +++ configure
+@@ -503,7 +503,7 @@ fi
+ 
+ ac_ext=c
+ # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
+-ac_cpp='$CPP $CPPFLAGS'
++ac_cpp='${CC-cc} -E $CPPFLAGS'
+ ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
+ ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
+ cross_compiling=$ac_cv_prog_cc_cross
+@@ -737,7 +737,7 @@ echo "configure:737: checking whether th
+ 
+ ac_ext=c
+ # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
+-ac_cpp='$CPP $CPPFLAGS'
++ac_cpp='${CC-cc} -E $CPPFLAGS'
+ ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
+ ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
+ cross_compiling=$ac_cv_prog_cc_cross
 @@ -1209,7 +1209,7 @@ fi
  echo $ac_n "checking low-level packet interface type""... $ac_c" 1>&6
  echo "configure:1211: checking low-level packet interface type" >&5



Home | Main Index | Thread Index | Old Index