Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 May 2018 22:03:14 -0400
From:      Wes Frazier <wes.frazier@members.fsf.org>
To:        freebsd-questions@freebsd.org
Subject:   Possible patch for games/gnurobots but don't know what to do next.
Message-ID:  <b57fb604-137f-baf6-a41b-6a75eced8e3a@members.fsf.org>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
Im less than a month in, with using FreeBSD.

games/gnurobots in the ports tree doesn't appear to behave as expected.
It builds and executes but doesn't actually correctly spawn the GNU
Guile interactive command prompt like it is supposed to.

I've been able to correct it, simply by changing how the port's Makefile
was tweaking the CFLAGS manually in the package's build system.

I have attached the patch. I however, do not know if this is the
best/correct way to fix this issue, nor do I know who to contact to get
a fix integrated into ports. (gnurobots is without maintainer.)

Advice appreciated.

[-- Attachment #2 --]
--- Makefile.orig	2018-05-09 21:29:50.993434000 -0400
+++ Makefile	2018-05-09 21:49:36.804677000 -0400
@@ -36,7 +36,7 @@
 		"${PORTNAME}" "Game;ArcadeGame;" ""
 
 post-patch:
-	@${REINPLACE_CMD} -e 's|^CFLAGS=|#CFLAGS=|g' ${WRKSRC}/configure
+	@${REINPLACE_CMD} -e 's|^C-pedantic-errors -Werror -Wall -g|-pedantic-errors -Wall -g|g' ${WRKSRC}/configure
 	@${REINPLACE_CMD} -e 's|#include <pty.h>||g' ${WRKSRC}/src/ui-cmdwin.c
 	@${REINPLACE_CMD} -E 's,(readline.h|history.h),readline/\1,' ${WRKSRC}/src/ui-cmdwin.c
 

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b57fb604-137f-baf6-a41b-6a75eced8e3a>