mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
net/arp-sk: Fix build with libnet 1.3
This commit is contained in:
parent
f8901e734c
commit
a19e26ecdd
1 changed files with 3 additions and 3 deletions
|
@ -6,8 +6,8 @@
|
||||||
|
|
||||||
-echo "$as_me:$LINENO: checking for version 1.1.x of libnet" >&5
|
-echo "$as_me:$LINENO: checking for version 1.1.x of libnet" >&5
|
||||||
-echo $ECHO_N "checking for version 1.1.x of libnet... $ECHO_C" >&6
|
-echo $ECHO_N "checking for version 1.1.x of libnet... $ECHO_C" >&6
|
||||||
+echo "$as_me:$LINENO: checking for version 1.2.x of libnet" >&5
|
+echo "$as_me:$LINENO: checking for version 1.3.x of libnet" >&5
|
||||||
+echo $ECHO_N "checking for version 1.2.x of libnet... $ECHO_C" >&6
|
+echo $ECHO_N "checking for version 1.3.x of libnet... $ECHO_C" >&6
|
||||||
|
|
||||||
if test "$cross_compiling" = yes; then
|
if test "$cross_compiling" = yes; then
|
||||||
{ { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
|
{ { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
|
||||||
|
@ -16,7 +16,7 @@
|
||||||
int main()
|
int main()
|
||||||
{
|
{
|
||||||
- return (strncmp(LIBNET_VERSION, "1.1.", 4));
|
- return (strncmp(LIBNET_VERSION, "1.1.", 4));
|
||||||
+ return (strncmp(LIBNET_VERSION, "1.2", 3));
|
+ return (strncmp(LIBNET_VERSION, "1.3", 3));
|
||||||
}
|
}
|
||||||
|
|
||||||
_ACEOF
|
_ACEOF
|
||||||
|
|
Loading…
Add table
Reference in a new issue