Ticket #21042: patch-universal

File patch-universal, 575 bytes (added by courtney+macports@…, 15 years ago)

Patch to fix the problem

Line 
1--- Makefile.in
2+++ Makefile.in
3@@ -73,7 +73,8 @@ OBJECTS     =   src/libnet_resolve.o\
4 all: libnet
5 supp: test example
6 
7-libnet: version.h $(OBJECTS)
8+libnet: $(LIB)
9+$(LIB): version.h $(OBJECTS)
10        $(AR) -cr $(LIB) $(OBJECTS)
11        $(RANLIB) $(LIB)
12 
13--- configure
14+++ configure
15@@ -958,11 +958,6 @@ fi
16 
17 
18 
19-if test $ac_cv_prog_gcc = yes; then
20-    CCOPTS='-O2 -funroll-loops -fomit-frame-pointer -Wall'
21-    CFLAGS="$CCOPTS"
22-fi
23-
24 # Check whether --with-pf_packet or --without-pf_packet was given.
25 if test "${with_pf_packet+set}" = set; then
26   withval="$with_pf_packet"