On Fri, Dec 03, 2010 at 03:50:17PM +0100, Thomas Klausner <wiz@NetBSD.org> wrote:
I looked at the Makefile target and saw that it wants to run ./bootstrap, so I did that manually; after a successful finish, gmake now dies with: gmake: *** [src/downloaded] Error 1Ditto.
I can reproduce this bug when I used --with-system-libs. A workaround is to 'mkdir src' before 'make'. Trivial fix for the bootstrap repo attached, does it look sane? Thanks.
From 3268b837433537a209aa6edd64d2277b53277f47 Mon Sep 17 00:00:00 2001 From: Miklos Vajna <vmiklos@frugalware.org> Date: Fri, 3 Dec 2010 15:59:23 +0100 Subject: [PATCH] Makefile: mkdir src before touch src/downloaded When using --with-system-libs the download script does not do anything, so the src directory will not be created. Because of a this, an initial 'make' would fail otherwise. --- Makefile.in | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Makefile.in b/Makefile.in index 9e05c70..87e9610 100644 --- a/Makefile.in +++ b/Makefile.in @@ -37,7 +37,7 @@ dmake/dmake@EXEEXT@: src/downloaded: ooo.lst download @. ./*[Ee]nv.[Ss]et.sh && \ - $$SRC_ROOT/download $$SRC_ROOT/ooo.lst && touch $@ + mkdir -p src && $$SRC_ROOT/download $$SRC_ROOT/ooo.lst && touch $@ fetch: src/downloaded -- 1.7.3.2
Attachment:
pgpp28anG9TpZ.pgp
Description: PGP signature