From owner-svn-ports-all@freebsd.org Sat Sep 12 12:59:18 2015 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 13A3BA01960; Sat, 12 Sep 2015 12:59:18 +0000 (UTC) (envelope-from danfe@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 04D051DFD; Sat, 12 Sep 2015 12:59:18 +0000 (UTC) (envelope-from danfe@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.70]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id t8CCxHc2043852; Sat, 12 Sep 2015 12:59:17 GMT (envelope-from danfe@FreeBSD.org) Received: (from danfe@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id t8CCxHlV043851; Sat, 12 Sep 2015 12:59:17 GMT (envelope-from danfe@FreeBSD.org) Message-Id: <201509121259.t8CCxHlV043851@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: danfe set sender to danfe@FreeBSD.org using -f From: Alexey Dokuchaev Date: Sat, 12 Sep 2015 12:59:17 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r396741 - head/lang/rexx-regina X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Sep 2015 12:59:18 -0000 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 -.if ${ARCH} == i386 +.if ${ARCH} == i386 || ${ARCH} == powerpc CONFIGURE_ARGS+= --enable-32bit .endif