Subject: pkg/26641: benchmarks/nettest does not build on Linux (trivial to fix)
To: None <gnats-bugs@netbsd.org>
From: None <roland.illig@gmx.de>
List: pkgsrc-bugs
Date: 08/13/2004 20:57:35
>Number:         26641
>Category:       pkg
>Synopsis:       benchmarks/nettest does not build on Linux (trivial to fix)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Aug 13 19:24:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        
>Organization:
>Environment:
System: Linux wwid 2.4.22-1-k7 #5 Sat Oct 4 14:11:12 EST 2003 i686 GNU/Linux
Architecture: i686

	
>Description:
There is no appropriate Make target for the package benchmarks/nettest.
	
>How-To-Repeat:
	
>Fix:
	
Linux is similar to a BSD4.3 system, so it can use the same make target:

--- patches/patch-aa	11 Apr 2003 17:07:23 -0000	1.1.1.1
+++ patches/patch-aa	13 Aug 2004 18:48:58 -0000
@@ -15,7 +15,14 @@
  	else \
  		echo You must specify what machine you are on,;\
  		echo e.g. \"make sun\", \"make cray2\", \"make pyramid\", \"make xmp\";\
-@@ -33,6 +31,12 @@ unicos60 unicos61:
+@@ -27,12 +25,18 @@
+ 		LIBS="" OPT=""
+ 
+ #BSD definitions
+-4.3bsd 4.3taho:
++4.3bsd 4.3taho Linux:
+ 	$(MAKE) objs \
+ 		INCLUDE="-I." \
  		DEFINES="-DWAIT3CODE -DNO_ISO" \
  		LIBS="" OPT="-O"
  
>Release-Note:
>Audit-Trail:
>Unformatted: