On Sun, November 19, 2017 15:55, Stuart Henderson wrote:
> On 2017/11/19 13:36, Jeremie Courreges-Anglas wrote:
>>
>> cc'ing maintainer,
>>
>> On Sun, Nov 19 2017, "Kirill Bychkov" <ki...@linklevel.net> wrote:
>> > On Sun, November 19, 2017 07:13, lan...@openbsd.org wrote:
>> >> bulk build on sparc64-1.ports.openbsd.org
>> >> started on  Sun Nov 12 12:40:59 MST 2017
>> >> finished at Sat Nov 18 21:13:25 MST 2017
>> >> lasted 07D01h32m
>> >> done with kern.version=OpenBSD 6.2-current (GENERIC) #339: Sat Nov 11
>> 21:44:18
>> >> MST 2017
>> >>
>> >> built packages:7030
>> >> Nov 12:207
>> >> Nov 13:230
>> >> Nov 14:174
>> >> Nov 15:146
>> >> Nov 16:443
>> >> Nov 17:872
>> >> Nov 18:4957
>> >>
>> > [...]
>> >> http://build-failures.rhaalovely.net//sparc64/2017-11-12/games/tome4,-data.log
>> >
>> > It uses internal copy of luajit wich is set to ONLY_FOR_ARCHES=powerpc
>> i386
>> > amd64.
>> > OK to commit a diff below?
>>
>> ok but please add a comment such as
>>
>> # ../src/luajit2/src/lj_arch.h:55:2: error: #error "No support for this
>> architecture (yet)"
>
> It maybe worth adding a comment to the luajit Makefile as well,
> mentioning that tome4 has an embedded copy. (Assuming of course
> that tome4 can't switch to the luajit port..)

I'm sure it's possible but can took some time because of tome4 build system.

>
>

Patch for tome4:
Index: Makefile
===================================================================
RCS file: /cvs/ports/games/tome4/Makefile,v
retrieving revision 1.9
diff -u -r1.9 Makefile
--- Makefile    16 Nov 2017 23:20:38 -0000      1.9
+++ Makefile    19 Nov 2017 13:18:42 -0000
@@ -1,5 +1,9 @@
 # $OpenBSD: Makefile,v 1.9 2017/11/16 23:20:38 naddy Exp $

+# tome4 ships embedded copy of luajit wich is known to
+# work on the arches listed below:
+ONLY_FOR_ARCHS = powerpc i386 amd64
+
 COMMENT-main = graphical sdl rogue-like game
 COMMENT-data = data for Tales of Maj'Eyal

and comment for luajit:
Index: Makefile
===================================================================
RCS file: /cvs/ports/lang/luajit/Makefile,v
retrieving revision 1.24
diff -u -r1.24 Makefile
--- Makefile    27 Jul 2017 17:27:27 -0000      1.24
+++ Makefile    19 Nov 2017 13:20:10 -0000
@@ -2,6 +2,7 @@

 ONLY_FOR_ARCHS = powerpc i386 amd64
 # arm needs missing EABI symbols
+# games/tome4 is using embedded copy of luajit

 SHARED_LIBS += luajit-${MODLUA_VERSION} 1.0 # 2.0.5

cvs server: Diffing patches


Reply via email to