openbsd-ports/net/nepim/patches/patch-Makefile
jasper 98552b0dae import nepim 0.32
nepim stands for network pipemeter, a tool for measuring available
bandwidth between hosts. nepim is also useful to generate network
traffic for testing purposes. nepim operates in client/server mode, is
able to handle multiple parallel traffic streams, reports periodic
partial statistics along the testing, and supports IPv6.

feedback and ok alek@
2006-06-18 08:42:31 +00:00

23 lines
624 B
Plaintext

--- src/Makefile.orig Sat Jun 17 13:38:19 2006
+++ src/Makefile Sat Jun 17 13:39:50 2006
@@ -28,17 +28,14 @@
# ENABLE_DLOPEN defined as -DHAVE_DLOPEN.
# Otherwise, tcpwrapper support is disabled.
-OOP_BASE = /usr/local/oop
+OOP_BASE = !!PREFIX!!
OOP_INC = $(OOP_BASE)/include
OOP_LIB = $(OOP_BASE)/lib
ENABLE_DLOPEN = -DHAVE_DLOPEN
-CC = gcc
-WARN = -Wall
REENT = -D_REENTRANT
-CFLAGS = $(WARN) $(REENT) -g -ggdb -I$(OOP_INC) $(ENABLE_DLOPEN) \
- -DHAVE_IPV6_MREQ
+CFLAGS += -Wall $(REENT) -I$(OOP_INC) -DHAVE_IPV6_MREQ $(ENABLE_DLOPEN)
LDFLAGS += -L$(OOP_LIB) -loop
PLATFORM=$(shell uname)