summaryrefslogtreecommitdiff
path: root/net/mrouted/files/patch-Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/mrouted/files/patch-Makefile')
-rw-r--r--net/mrouted/files/patch-Makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/net/mrouted/files/patch-Makefile b/net/mrouted/files/patch-Makefile
new file mode 100644
index 000000000000..1a2bce163acd
--- /dev/null
+++ b/net/mrouted/files/patch-Makefile
@@ -0,0 +1,19 @@
+--- Makefile.orig Sun Mar 1 03:09:11 1998
++++ Makefile Thu Sep 28 22:11:44 2006
+@@ -24,12 +24,13 @@
+ #
+ # Uncomment the following three lines if you want to use RSRR (Routing
+ # Support for Resource Reservations), currently used by RSVP.
+-#RSRRDEF= -DRSRR
+-#RSRRC= rsrr.c
+-#RSRRO= rsrr.o
++RSRRDEF= -DRSRR
++RSRRC= rsrr.c
++RSRRO= rsrr.o
+ #
+ LDFLAGS=
+ CFLAGS= -O ${MCAST_INCLUDE} ${SNMPDEF} ${RSRRDEF} ## SunOS, OSF1, FreeBSD, IRIX
++CFLAGS+= -O2 -fno-strict-aliasing -pipe -Dlog=logit
+ #CFLAGS= -O ${MCAST_INCLUDE} ${SNMPDEF} ${RSRRDEF} -DSYSV -DSUNOS5 ## Solaris 2.x
+ #LIB2=-lsocket -lnsl ## Solaris 2.x
+ #CFLAGS= -O ${MCAST_INCLUDE} ${SNMPDEF} ${RSRRDEF} -D__BSD_SOURCE -DRAW_INPUT_IS_RAW -DRAW_OUTPUT_IS_RAW -DIOCTL_OK_ON_RAW_SOCKET ## Linux