openbsd-ports/net/tcpslice/patches/patch-Makefile_in
rui fae310b187 update tcpslice to 20070709
help and ok aanriot@
2007-07-13 08:16:16 +00:00

28 lines
854 B
Plaintext

$OpenBSD: patch-Makefile_in,v 1.3 2007/07/13 08:16:16 rui Exp $
--- Makefile.in.orig Thu May 31 19:51:14 2007
+++ Makefile.in Thu May 31 19:52:49 2007
@@ -41,8 +41,8 @@ VPATH = @srcdir@
CC = @CC@
PROG = tcpslice
-CCOPT = @V_CCOPT@
-INCLS = -I. @V_INCLS@
+CCOPT = @CFLAGS@
+INCLS = -I. -I$(srcdir) -I$(srcdir)/lbl
DEFS = @DEFS@ @CPPFLAGS@ @V_DEFS@
# Standard CFLAGS
@@ -61,9 +61,9 @@ INSTALL_DATA = @INSTALL_DATA@
# Explicitly define compilation rule since SunOS 4's make doesn't like gcc.
# Also, gcc does not remove the .o before forking 'as', which can be a
# problem if you don't own the file but can write to the directory.
-.c.o:
- @rm -f $@
- $(CC) $(CFLAGS) -c $(srcdir)/$*.c
+#.c.o:
+# @rm -f $@
+# $(CC) $(CFLAGS) -c $(srcdir)/$*.c
CSRC = tcpslice.c gmt2local.c gwtm2secs.c machdep.c search.c sessions.c util.c
GENSRC = version.c