Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Sep 2015 12:59:17 +0000 (UTC)
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r396741 - head/lang/rexx-regina
Message-ID:  <201509121259.t8CCxHlV043851@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201509121259.t8CCxHlV043851>