Unbreak the build on PowerPC. This is a quick fix rather than perfectly
correct: REGINA_BITS macro is set by configure script (for known systems, but passed to the compiler unconditionally even if empty) and checked and set in `rexx.h' as well if defined(__APPLE__) && defined(__MACH__). Better approach would be either making configure script logic exhaustive, or move REGINA_BITS setting entirely into `rexx.h', leaving the ability to override it via --enable-{32,64}bit configure arguments.
This commit is contained in:
parent
11538b8621
commit
e61af8f756
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=396741
@ -26,13 +26,11 @@ EXAMPLESDIR= ${PREFIX}/share/examples/Regina-REXX
|
|||||||
|
|
||||||
CONFLICTS= rexx-imc-[0-0]* oorexx-[0-9]*
|
CONFLICTS= rexx-imc-[0-0]* oorexx-[0-9]*
|
||||||
|
|
||||||
BROKEN_powerpc= Does not link on powerpc
|
|
||||||
|
|
||||||
OPTIONS_DEFINE= EXAMPLES
|
OPTIONS_DEFINE= EXAMPLES
|
||||||
|
|
||||||
.include <bsd.port.options.mk>
|
.include <bsd.port.options.mk>
|
||||||
|
|
||||||
.if ${ARCH} == i386
|
.if ${ARCH} == i386 || ${ARCH} == powerpc
|
||||||
CONFIGURE_ARGS+= --enable-32bit
|
CONFIGURE_ARGS+= --enable-32bit
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user