NetBSD Problem Report #28710

From www@netbsd.org  Sun Dec 19 08:38:46 2004
Return-Path: <www@netbsd.org>
Received: by narn.netbsd.org (Postfix, from userid 31301)
	id 4A7F663B843; Sun, 19 Dec 2004 08:38:46 +0000 (UTC)
Message-Id: <20041219083846.4A7F663B843@narn.netbsd.org>
Date: Sun, 19 Dec 2004 08:38:46 +0000 (UTC)
From: michael@nosflow.com
Reply-To: michael@nosflow.com
To: gnats-bugs@netbsd.org
Subject: htdocs/Makefiles specify "make" which causes it to fail on non-NetBSD platforms
X-Send-Pr-Version: www-1.0

>Number:         28710
>Category:       misc
>Synopsis:       htdocs/Makefiles specify "make" which causes it to fail on non-NetBSD platforms
>Confidential:   no
>Severity:       critical
>Priority:       low
>Responsible:    misc-bug-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Dec 19 08:39:00 +0000 2004
>Closed-Date:    Sun Dec 19 09:41:04 +0000 2004
>Last-Modified:  Sun Dec 19 09:41:04 +0000 2004
>Originator:     Michael Wolfson
>Release:        Darwin 7.7.0
>Organization:
>Environment:
Darwin GizMac.nosflow.com 7.7.0 Darwin Kernel Version 7.7.0: Sun Nov  7 16:06:51 PST 2004; root:xnu/xnu-517.9.5.obj~1/RELEASE_PPC  Power Macintosh powerpc

>Description:
When trying to rebuild htdocs, non-NetBSD platforms will fail.  Some of the Makefiles explicitly use "make" instead of a OS-independent macro of some sort.  I had to change them to "bmake" on Darwin to get anywhere.
>How-To-Repeat:
On non-NetBSD platform (with pkgsrc installed):
cd htdocs;bmake
>Fix:
On Darwin, find al Makefiles with "make" and replace with "bmake".  For example:

RCS file: /cvsroot/htdocs/Makefile,v
retrieving revision 1.60
diff -c -r1.60 Makefile
*** Makefile    10 Dec 2004 17:16:25 -0000      1.60
--- Makefile    19 Dec 2004 08:35:53 -0000
***************
*** 61,69 ****
        done;

  gallery/events.html: gallery/events.xml
!       cd gallery; make events.html; cd ..;

  Changes/index.html: Changes/index.xml
!       cd Changes; make index.html ; cd ..;

  .include "${WEB_PREFIX}/share/mk/web.site.mk"
--- 61,69 ----
        done;

  gallery/events.html: gallery/events.xml
!       cd gallery; bmake events.html; cd ..;

  Changes/index.html: Changes/index.xml
!       cd Changes; bmake index.html ; cd ..;

  .include "${WEB_PREFIX}/share/mk/web.site.mk"

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->closed
State-Changed-By: jdolecek@netbsd.org
State-Changed-When: Sun, 19 Dec 2004 09:41:04 +0000
State-Changed-Why:
Fix committed.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.