mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-05 06:27:37 +00:00
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]*
|
||||
|
||||
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user