Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Nov 2018 03:22:57 +0000 (UTC)
From:      Mark Linimon <linimon@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r484993 - head/lang/harbour
Message-ID:  <201811150322.wAF3MvOR050063@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: linimon
Date: Thu Nov 15 03:22:56 2018
New Revision: 484993
URL: https://svnweb.freebsd.org/changeset/ports/484993

Log:
  Fix build on gcc-based archs.
  
  Approved by:	portmgr (tier-2 blanket)

Modified:
  head/lang/harbour/Makefile

Modified: head/lang/harbour/Makefile
==============================================================================
--- head/lang/harbour/Makefile	Thu Nov 15 03:19:27 2018	(r484992)
+++ head/lang/harbour/Makefile	Thu Nov 15 03:22:56 2018	(r484993)
@@ -12,7 +12,8 @@ COMMENT=	Open source Clipper-compatible compiler
 
 BROKEN_mips=		does not build: clang: Command not found
 BROKEN_mips64=		does not build: clang: Command not found
-BROKEN_powerpc64=	does not build: clang: Command not found
+# XXX MCL 20181112
+#BROKEN_powerpc64=	does not build: clang: Command not found
 BROKEN_sparc64=		does not compile: assertion failed
 
 LIB_DEPENDS=	libslang.so:devel/libslang2\
@@ -108,4 +109,11 @@ post-patch:
 	${REINPLACE_CMD} \
 		-e 's|utmp.h|utmpx.h|g' ${WRKSRC}/src/rtl/gtcrs/gtcrs.h
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+# override default for gcc-based archs
+.if ${ARCH:Mmips*} || ${ARCH:Mpowerpc*} || ${ARCH} == sparc64
+HB_COMPILER=	gcc
+.endif
+
+.include <bsd.port.post.mk>



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