svn commit: r542591 - head/emulators/simh-hp3000

Piotr Kubaj pkubaj at FreeBSD.org
Sun Jul 19 18:42:57 UTC 2020


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


More information about the svn-ports-all mailing list