summaryrefslogtreecommitdiff
path: root/benchmarks/nttcp/patches/patch-aa
blob: 619067cd33b08d68684c6bb0a4c3ff9e5ef03b87 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
$NetBSD: patch-aa,v 1.1.1.1 2002/04/17 21:51:35 thorpej Exp $

--- Makefile.orig	Mon Dec 18 02:17:20 2000
+++ Makefile	Wed Apr 17 14:42:49 2002
@@ -151,9 +151,12 @@
 VERSION=	1.47
 #prefix=		/usr/local/dist/DIR/nttcp-$(VERSION)
 #prefix=		/usr/local
-prefix=		/usr/local/opt/nttcp-$(VERSION)
+#prefix=		/usr/local/opt/nttcp-$(VERSION)
+prefix=		${PREFIX}
 CFLAGS =	$(ARCH) $(DBG) $(DEF) $(INC) $(OPT) -DVERSION=\"$(VERSION)\"
 LFLAGS = 	$(DBG) 
+
+all:		nttcp
 
 nttcp:		nttcp.o support.o
 		$(CC) $(LFLAGS) nttcp.o -o nttcp support.o $(LIB)