openbsd-ports/net/nmap/patches/patch-aa
1999-09-01 18:19:03 +00:00

32 lines
1.3 KiB
Plaintext

--- Makefile.in.orig Mon Aug 30 04:03:42 1999
+++ Makefile.in Wed Sep 1 12:10:19 1999
@@ -10,7 +10,7 @@
CC = @CC@
CCOPT =
LIBPCAPDIR = @libpcapdir@
-INCLS = -I. -I$(LIBPCAPDIR)
+INCLS = -I. # -I$(LIBPCAPDIR)
DEFS = @DEFS@ -DVERSION=\"$(VERSION)\" -DLIBDIR=\"$(libdir)\"
# CFLAGS = @CFLAGS@ $(CCOPT) $(DEFS) $(INCLS)
CFLAGS = -g -Wall $(DEFS) $(INCLS)
@@ -35,7 +35,7 @@
all: $(TARGET)
-$(TARGET): $(DEPS) @PCAP_DEPENDS@ $(OBJS) nmapfe/nmapfe
+$(TARGET): $(DEPS) $(OBJS) # @PCAP_DEPENDS@ nmapfe/nmapfe
@echo Compiling nmap
rm -f $@
$(CC) $(LDFLAGS) -o $@ $(OBJS) $(LIBS)
@@ -128,8 +128,8 @@
install: all
$(SHTOOL) mkdir -f -p -m 755 $(bindir) $(mandir)/man1 $(libdir)
$(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
+# @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 docs/$(TARGET).1 $(mandir)/man1/$(TARGET).1
$(INSTALL) -c -m 644 nmap-os-fingerprints $(libdir)/nmap-os-fingerprints
$(INSTALL) -c -m 644 nmap-services $(libdir)/nmap-services