mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-06 22:51:41 +00:00
c6da23405e
2.51 fixes a target parsing bug which could in some cases cause Nmap to crash with the error "Assertion `t->nleft > 1' failed".
30 lines
1.1 KiB
Plaintext
30 lines
1.1 KiB
Plaintext
--- Makefile.in.orig Sat Apr 29 13:37:50 2000
|
|
+++ Makefile.in Sun Apr 30 01:38:54 2000
|
|
@@ -11,7 +11,7 @@
|
|
CC = @CC@
|
|
CCOPT =
|
|
LIBPCAPDIR = @libpcapdir@
|
|
-INCLS = -I. -I$(LIBPCAPDIR)
|
|
+INCLS = -I. # -I$(LIBPCAPDIR)
|
|
DEFS = @DEFS@ -DVERSION=\"$(VERSION)\" -DNMAPDATADIR=\"$(nmapdatadir)\"
|
|
CFLAGS = @CFLAGS@ $(CCOPT) $(DEFS) $(INCLS)
|
|
# CFLAGS = -g -Wall $(DEFS) $(INCLS)
|
|
@@ -36,7 +36,7 @@
|
|
|
|
all: $(TARGET) nmapfe/nmapfe
|
|
|
|
-$(TARGET): $(DEPS) @PCAP_DEPENDS@ $(OBJS)
|
|
+$(TARGET): $(DEPS) $(OBJS)
|
|
@echo Compiling nmap
|
|
rm -f $@
|
|
$(CC) $(LDFLAGS) -o $@ $(OBJS) $(LIBS)
|
|
@@ -129,7 +129,7 @@
|
|
$(MAKEDEPEND) $(INCLS) -s "# DO NOT DELETE" -- $(DEFS) -- $(SRCS)
|
|
|
|
install: $(TARGET)
|
|
- $(SHTOOL) mkdir -f -p -m 755 $(bindir) $(mandir)/man1 $(nmapdatadir) $(deskdir)
|
|
+ $(SHTOOL) mkdir -f -p -m 755 $(bindir) $(mandir)/man1 $(nmapdatadir)
|
|
$(INSTALL) -c -m 755 nmap $(bindir)/nmap
|
|
@echo "If the next command failes -- you cannot use the X front end"
|
|
-test -f nmapfe/nmapfe && $(INSTALL) -c -m 755 nmapfe/nmapfe $(bindir)/nmapfe && $(SHTOOL) mkln -f -s $(bindir)/nmapfe $(bindir)/xnmap && $(INSTALL) -c -m 644 nmapfe.desktop $(deskdir)/nmapfe.desktop
|