From e61af8f75624e71b151a2c098655a0dcd3e4e346 Mon Sep 17 00:00:00 2001 From: Alexey Dokuchaev Date: Sat, 12 Sep 2015 12:59:17 +0000 Subject: [PATCH] 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. --- lang/rexx-regina/Makefile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lang/rexx-regina/Makefile b/lang/rexx-regina/Makefile index 73c65fc8b2d6..bad65c1bee40 100644 --- a/lang/rexx-regina/Makefile +++ b/lang/rexx-regina/Makefile @@ -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 -.if ${ARCH} == i386 +.if ${ARCH} == i386 || ${ARCH} == powerpc CONFIGURE_ARGS+= --enable-32bit .endif