freebsd-ports/net/libnet/files/patch-aa
Michael C . Wu 831c2fb2b6 Update this port and close the PR that has been open for a
long time.  Maintainer has not responded to the PR at all.

PR: 28656
Submitted by:	cnh@netVmg.com
2001-07-12 21:32:41 +00:00

29 lines
938 B
Text

--- configure.in.orig Wed Jan 17 12:59:30 2001
+++ configure.in Mon Jul 2 19:18:50 2001
@@ -50,10 +50,10 @@
dnl Use these compiler flags if we have gcc.
dnl
if test $ac_cv_prog_gcc = yes; then
-dnl if test -z $CFLAGS; then
- CCOPTS='-O2 -funroll-loops -fomit-frame-pointer -Wall'
- CFLAGS="$CCOPTS"
-dnl fi
+ if test -z "$CFLAGS"; then
+ CCOPTS='-O2 -funroll-loops -fomit-frame-pointer -Wall'
+ CFLAGS="$CCOPTS"
+ fi
fi
dnl
@@ -163,8 +163,9 @@
LIB_PREFIX="$prefix/lib/aout"
INC_PREFIX="$prefix/include/"
BIN_PREFIX="$prefix/bin/"
- AC_MSG_RESULT(Note: support/bpf-lkm/etherspoof contains the lkm source \
-required to spoof ethernet frames)
+dnl etherspoof lkm is horrible and only necesary on < RELENG_4
+dnl AC_MSG_RESULT(Note: support/bpf-lkm/etherspoof contains the lkm source \
+dnl required to spoof ethernet frames)
ln -sf FreeBSD support/bpf-lkm/etherspoof
;;