aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/sendip
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2002-09-05 02:40:51 +0000
committerKris Kennaway <kris@FreeBSD.org>2002-09-05 02:40:51 +0000
commit6c4d4e53e8f87d709ed23de53598613ba119bce4 (patch)
treec564b388303f0aa68adc2bf68f3f570c9f07061b /net-mgmt/sendip
parent87310e775d617ea4af66cd2cce6348c4757bc765 (diff)
downloadports-6c4d4e53e8f87d709ed23de53598613ba119bce4.tar.gz
ports-6c4d4e53e8f87d709ed23de53598613ba119bce4.zip
Notes
Diffstat (limited to 'net-mgmt/sendip')
-rw-r--r--net-mgmt/sendip/files/patch-Makefile17
1 files changed, 11 insertions, 6 deletions
diff --git a/net-mgmt/sendip/files/patch-Makefile b/net-mgmt/sendip/files/patch-Makefile
index 1462c2b195db..9f54f3dfac4f 100644
--- a/net-mgmt/sendip/files/patch-Makefile
+++ b/net-mgmt/sendip/files/patch-Makefile
@@ -1,13 +1,14 @@
---- Makefile Sun Feb 24 12:37:47 2002
-+++ Makefile Sat Mar 9 08:15:25 2002
-@@ -8,12 +8,13 @@
+--- Makefile.orig Sun Feb 24 04:37:47 2002
++++ Makefile Wed Sep 4 19:40:15 2002
+@@ -8,15 +8,16 @@
#For Solaris, you may need
#INSTALL=/usr/ucb/install
-CFLAGS= -fPIC -pipe -Wall -Wpointer-arith -Wwrite-strings \
-+CFLAGS= -fPIC -fsigned-char -pipe -Wall -Wpointer-arith -Wwrite-strings \
++CFLAGS+= -fPIC -fsigned-char -Wall -Wpointer-arith -Wwrite-strings \
-Wstrict-prototypes -Wnested-externs -Winline -Werror -g \
- -DSENDIP_LIBS=\"$(LIBDIR)\"
+- -DSENDIP_LIBS=\"$(LIBDIR)\"
++ -DSENDIP_LIBS=\"$(LIBDIR)\" -DHAVE_STRING_H=1
#-Wcast-align causes problems on solaris, but not serious ones
LDFLAGS= -g -rdynamic -lm
-LDFLAGS_SOLARIS= -g -lsocket -lnsl -lm
@@ -15,4 +16,8 @@
+LDFLAGS_SOLARIS= -g -lsocket -lnsl -lm -ldl
LDFLAGS_LINUX= -g -rdynamic -ldl -lm
LIBCFLAGS= -shared
- CC= gcc
+-CC= gcc
++CC?= cc
+
+ PROGS= sendip
+ PROTOS= ipv4.so ipv6.so icmp.so tcp.so udp.so rip.so bgp.so ntp.so #dns.so