Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Jul 2020 18:43:53 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r542592 - branches/2020Q3/emulators/simh-hp3000
Message-ID:  <202007191843.06JIhrpS086214@repo.freebsd.org>

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

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

Modified:
  branches/2020Q3/emulators/simh-hp3000/Makefile
Directory Properties:
  branches/2020Q3/   (props changed)

Modified: branches/2020Q3/emulators/simh-hp3000/Makefile
==============================================================================
--- branches/2020Q3/emulators/simh-hp3000/Makefile	Sun Jul 19 18:42:56 2020	(r542591)
+++ branches/2020Q3/emulators/simh-hp3000/Makefile	Sun Jul 19 18:43:53 2020	(r542592)
@@ -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?202007191843.06JIhrpS086214>