Subject: pkg/36700: looping make of net/aoe-vblade on Linux
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <pkgsrc@blackmouse.biz>
List: pkgsrc-bugs
Date: 07/28/2007 17:15:03
>Number:         36700
>Category:       pkg
>Synopsis:       looping make of net/aoe-vblade on Linux
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jul 28 17:15:00 +0000 2007
>Originator:     Ondrej Tuma
>Release:        current
>Organization:
Blackmouse
>Environment:
Linux ip1 2.6.20.1 #3 Thu Mar 8 18:42:01 CET 2007 i686 athlon-4 i386 GNU/Linux
>Description:
bad Makefile line doing loop make
>How-To-Repeat:
bmake install on Linux
>Fix:
here's the patche:
--- Makefile.orig	2007-07-28 14:22:05.000000000 +0000
+++ Makefile	2007-07-28 14:22:32.000000000 +0000
@@ -20,7 +20,7 @@
 .if ${OPSYS} == "NetBSD" || ${OPSYS} == "FreeBSD" || ${OPSYS} == "DragonFly"
 	cd ${WRKSRC} && ${CP} freebsd.c bsd.c && ${MAKE} PLATFORM=bsd
 .elif ${OPSYS} == "Linux"
-	${MAKE} PLATFORM=linux
+	cd ${WRKSRC} && ${MAKE} PLATFORM=linux
 .endif
 
 do-install: