Date: prev next · Thread: first prev next last
2010 Archives by date, by thread · List index


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 1

    Ditto.

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


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.