pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

chibi-scheme: add an hyper-kludge (sigh!) to workaround "gmake: write error"



Module Name:	pkgsrc-wip
Committed By:	Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By:	leot
Date:		Mon Nov 9 20:03:52 2015 +0100
Changeset:	e366a313a6f1b630bbef938d50aba813d17787be

Modified Files:
	chibi-scheme/Makefile

Log Message:
chibi-scheme: add an hyper-kludge (sigh!) to workaround "gmake: write error"

Sometimes (about the 30-60% of the times) during the install phase
wip/chibi-scheme fails due:

 [...]
 "gmake: write error: stdout"

Adding a nop pre-install: target seems to fix that and it's better^W less
worse than adding ``INSTALL_MAKE_FLAGS+= -s''.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=e366a313a6f1b630bbef938d50aba813d17787be

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 chibi-scheme/Makefile | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diffs:
diff --git a/chibi-scheme/Makefile b/chibi-scheme/Makefile
index d111cc1..d11d4f4 100644
--- a/chibi-scheme/Makefile
+++ b/chibi-scheme/Makefile
@@ -21,11 +21,13 @@ REPLACE_FILES.chibi-scheme=	tools/chibi-doc tools/chibi-ffi tools/snow-chibi
 
 CFLAGS.NetBSD+=	-D_KMEMUSER	# Needed for kinfo_proc in <sys/sysctl.h>
 
-# XXX: Avoid `gmake: write error: stdout' error during the install phase
-INSTALL_MAKE_FLAGS+=	-s
 MAKE_ENV+=		MANDIR=${PREFIX}/${PKGMANDIR}/man1
 MAKE_ENV+=		PREFIX=${PREFIX}
 
 TEST_TARGET=	test
 
+# XXX: Kludge: Avoid `gmake: write error: stdout' error during the install
+# XXX: phase defining a nop pre-install target.
+pre-install:
+
 .include "../../mk/bsd.pkg.mk"


Home | Main Index | Thread Index | Old Index