openbsd-ports/net/nmap/patches/patch-aa
1999-08-02 06:26:26 +00:00

32 lines
1.3 KiB
Plaintext

--- Makefile.in.orig Fri May 7 07:20:11 1999
+++ Makefile.in Mon Aug 2 02:11:51 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)
@@ -33,7 +33,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)
@@ -124,8 +124,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