1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/security/nmap/files/patch-ab
David E. O'Brien 1cb3956451 Hard code the path to nmap w/in nmapfe. Thus it will work in the face of a
limited path.

Bug reported by:	Andre Albsmeier <andre.albsmeier@mchp.siemens.de>
1999-07-23 18:21:54 +00:00

26 lines
559 B
Plaintext

--- nmapfe/Makefile.in.orig Fri May 7 04:51:52 1999
+++ nmapfe/Makefile.in Fri Jul 23 10:46:08 1999
@@ -71,7 +71,7 @@
PROGRAMS = $(bin_PROGRAMS)
-DEFS = @DEFS@ -I. -I$(srcdir)
+DEFS = @DEFS@ -DNMAP_PATH=\"$(bindir)/\" -I. -I$(srcdir)
CPPFLAGS = @CPPFLAGS@
STATIC =
LDFLAGS = @LDFLAGS@ $(STATIC)
@@ -231,11 +231,11 @@
maintainer-clean-depend:
-rm -rf .deps
-%.o: %.c
+.c.o:
@echo '$(COMPILE) -c $<'; \
$(COMPILE) -c $<
-%.lo: %.c
+.c.lo:
@echo '$(LTCOMPILE) -c $<'; \
$(LTCOMPILE) -c $<
@-sed -e 's/^\([^:]*\)\.o:/\1.lo \1.o:/' \