1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-05 22:43:24 +00:00
freebsd-ports/security/nmap/files/patch-aa

37 lines
1.2 KiB
Plaintext
Raw Normal View History

--- Makefile.in.orig Sun Mar 26 03:04:48 2000
+++ Makefile.in Sun Mar 26 17:16:58 2000
@@ -5,13 +5,13 @@
1999-02-08 11:58:17 +00:00
sbindir = @sbindir@
mandir = @mandir@
srcdir = @srcdir@
-libdir = @libdir@/nmap
+libdir = @libdir@
deskdir = $(prefix)/share/gnome/apps/Utilities
1999-02-08 11:58:17 +00:00
CC = @CC@
CCOPT =
LIBPCAPDIR = @libpcapdir@
-INCLS = -I. -I$(LIBPCAPDIR)
1998-12-15 11:18:32 +00:00
+INCLS = -I. # -I$(LIBPCAPDIR)
1999-02-08 11:58:17 +00:00
DEFS = @DEFS@ -DVERSION=\"$(VERSION)\" -DLIBDIR=\"$(libdir)\"
CFLAGS = @CFLAGS@ $(CCOPT) $(DEFS) $(INCLS)
# CFLAGS = -g -Wall $(DEFS) $(INCLS)
@@ -36,7 +36,7 @@
1998-12-15 11:18:32 +00:00
all: $(TARGET) nmapfe/nmapfe
1998-12-15 11:18:32 +00:00
-$(TARGET): $(DEPS) @PCAP_DEPENDS@ $(OBJS)
+$(TARGET): $(DEPS) $(OBJS)
1998-12-15 11:18:32 +00:00
@echo Compiling nmap
rm -f $@
$(CC) $(LDFLAGS) -o $@ $(OBJS) $(LIBS)
2000-02-27 08:56:20 +00:00
@@ -128,7 +128,7 @@
$(MAKEDEPEND) $(INCLS) -s "# DO NOT DELETE" -- $(DEFS) -- $(SRCS)
install: $(TARGET)
2000-02-27 08:56:20 +00:00
- $(SHTOOL) mkdir -f -p -m 755 $(bindir) $(mandir)/man1 $(libdir) $(deskdir)
+ $(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 && $(INSTALL) -c -m 644 nmapfe.desktop $(deskdir)/nmapfe.desktop