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:
Alexey Dokuchaev 2015-09-12 12:59:17 +00:00
parent 11538b8621
commit e61af8f756
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=396741

View File

@ -26,13 +26,11 @@ EXAMPLESDIR= ${PREFIX}/share/examples/Regina-REXX
CONFLICTS= rexx-imc-[0-0]* oorexx-[0-9]*
BROKEN_powerpc= Does not link on powerpc
OPTIONS_DEFINE= EXAMPLES
.include <bsd.port.options.mk>
.if ${ARCH} == i386
.if ${ARCH} == i386 || ${ARCH} == powerpc
CONFIGURE_ARGS+= --enable-32bit
.endif