svn commit: r396741 - head/lang/rexx-regina
Alexey Dokuchaev
danfe at FreeBSD.org
Sat Sep 12 12:59:18 UTC 2015
Author: danfe
Date: Sat Sep 12 12:59:17 2015
New Revision: 396741
URL: https://svnweb.freebsd.org/changeset/ports/396741
Log:
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.
Modified:
head/lang/rexx-regina/Makefile
Modified: head/lang/rexx-regina/Makefile
==============================================================================
--- head/lang/rexx-regina/Makefile Sat Sep 12 11:13:59 2015 (r396740)
+++ head/lang/rexx-regina/Makefile Sat Sep 12 12:59:17 2015 (r396741)
@@ -26,13 +26,11 @@ EXAMPLESDIR= ${PREFIX}/share/examples/Re
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
More information about the svn-ports-all
mailing list