1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-30 01:15:52 +00:00
freebsd-ports/net/nitpicker/files/patch-aa
Michael Reifenberger 71225ba5ab Unbreak nitpicker which user mkdirhier for installing the programs.
Replace `mkdirhier` with `mkdir -p`.
Include ports/56723 which avoids the fragile install targets
by using ${INSTALL_PROGRAMM}.
Install parse_flowfile.

PR:		ports/56723
Submitted by:	Simon Barner <barner@in.tum.de>
Approved by:	kris
2003-09-23 08:17:36 +00:00

21 lines
528 B
Plaintext

--- src/Makefile.orig Sat Jul 5 02:56:12 2003
+++ src/Makefile Tue Sep 23 09:48:56 2003
@@ -1,8 +1,8 @@
TARGET = nitpicker
-CC = gcc
+CC = cc
INCLUDES = -I../include -I/usr/pkg/include -I..
LIBS = -lpcap
-CFLAGS = -pg -Wall -g $(INCLUDES) -pthread
+CFLAGS += $(INCLUDES) -pthread
PREFIX = /usr/local/
INCDIR= ${.CURDIR}/../include
@@ -31,5 +31,5 @@
install:
@echo "Your Binaries will be installed into $(PREFIX)/sbin"
- mkdirhier $(PREFIX)/sbin
+ mkdir -p $(PREFIX)/sbin
cp nitpicker $(PREFIX)/sbin