Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Jul 2020 18:42:56 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r542591 - head/emulators/simh-hp3000
Message-ID:  <202007191842.06JIguiA086019@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pkubaj
Date: Sun Jul 19 18:42:56 2020
New Revision: 542591
URL: https://svnweb.freebsd.org/changeset/ports/542591

Log:
  emulators/simh-hp3000: fix build on GCC architectures
  
  Use GCC when necessary. Builds with both GCC and Clang.
  
  MFH:		2020Q3 (fix build blanket)

Modified:
  head/emulators/simh-hp3000/Makefile

Modified: head/emulators/simh-hp3000/Makefile
==============================================================================
--- head/emulators/simh-hp3000/Makefile	Sun Jul 19 17:39:36 2020	(r542590)
+++ head/emulators/simh-hp3000/Makefile	Sun Jul 19 18:42:56 2020	(r542591)
@@ -22,7 +22,7 @@ LICENSE_PERMS=	dist-mirror dist-sell pkg-mirror pkg-se
 
 RUN_DEPENDS=	${LOCALBASE}/share/doc/hpdoc/simh_doc.pdf:emulators/simh-hpdoc
 
-USES=		gmake dos2unix zip
+USES=		compiler gmake dos2unix zip
 
 NO_WRKSUBDIR=	yes
 
@@ -34,7 +34,7 @@ SUB_FILES=	hp3000.1
 .include <bsd.port.pre.mk>
 
 do-build:
-	(cd ${WRKSRC}; GCC=clang ${GMAKE} -C SCP hp3000)
+	(cd ${WRKSRC}; GCC=${CHOSEN_COMPILER_TYPE} ${GMAKE} -C SCP hp3000)
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/hp3000 ${STAGEDIR}${PREFIX}/bin



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