1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00
freebsd-ports/net/sntop/files/patch-aa
David W. Chapman Jr. f1185bc7db Update to 1.4.3
PR:		36824
Submitted by:	obraun@informatik.unibw-muenchen.de
2002-05-08 16:20:36 +00:00

37 lines
1.1 KiB
Plaintext

--- Makefile.in.orig Sun Nov 11 22:54:15 2001
+++ Makefile.in Sat Apr 6 23:49:08 2002
@@ -36,7 +36,7 @@
MANDIR = @mandir@/man1
SNTOPRC = $(ETCDIR)/sntoprc
CC = @CC@
-CFLAGS = -Wall -Wstrict-prototypes -O2 @DEFS@ -DCONF_SFILE=\"$(SNTOPRC)\"
+CFLAGS+= -Wall -Wstrict-prototypes @DEFS@ -DCONF_SFILE=\"$(SNTOPRC)\"
proper: clean sntop
@@ -65,12 +65,12 @@
fi
@if [ -d $(ETCDIR) ]; \
then \
- if [ ! -f $(ETCDIR)/sntoprc ]; \
+ if [ ! -f $(ETCDIR)/sntoprc.sample ]; \
then \
- cp sntoprc.EXAMPLE $(ETCDIR)/sntoprc; \
- chmod 644 $(ETCDIR)/sntoprc; \
+ cp sntoprc.EXAMPLE $(ETCDIR)/sntoprc.sample; \
+ chmod 644 $(ETCDIR)/sntoprc.sample; \
fi; \
- echo "sntop: Sample config exists at $(ETCDIR)/sntoprc"; \
+ echo "sntop: Sample config exists at $(ETCDIR)/sntoprc.sample"; \
else \
echo "sntop: $(ETCDIR) does not exist"; false; \
fi
@@ -78,7 +78,6 @@
then \
cp sntop.1 $(MANDIR); \
chmod 644 $(MANDIR)/sntop.1; \
- gzip -9 $(MANDIR)/sntop.1; \
echo "sntop: Man file installed in $(MANDIR)"; \
else \
echo "sntop: $(MANDIR) does not exist, not installing man file"; \