summaryrefslogtreecommitdiff
path: root/net/sendip/files/patch-Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/sendip/files/patch-Makefile')
-rw-r--r--net/sendip/files/patch-Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/net/sendip/files/patch-Makefile b/net/sendip/files/patch-Makefile
new file mode 100644
index 000000000000..1462c2b195db
--- /dev/null
+++ b/net/sendip/files/patch-Makefile
@@ -0,0 +1,18 @@
+--- Makefile Sun Feb 24 12:37:47 2002
++++ Makefile Sat Mar 9 08:15:25 2002
+@@ -8,12 +8,13 @@
+ #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 \
+ -Wstrict-prototypes -Wnested-externs -Winline -Werror -g \
+ -DSENDIP_LIBS=\"$(LIBDIR)\"
+ #-Wcast-align causes problems on solaris, but not serious ones
+ LDFLAGS= -g -rdynamic -lm
+-LDFLAGS_SOLARIS= -g -lsocket -lnsl -lm
++#LDFLAGS_SOLARIS= -g -lsocket -lnsl -lm
++LDFLAGS_SOLARIS= -g -lsocket -lnsl -lm -ldl
+ LDFLAGS_LINUX= -g -rdynamic -ldl -lm
+ LIBCFLAGS= -shared
+ CC= gcc