svn commit: r541475 - head/emulators/simh-hp2100

Piotr Kubaj pkubaj at FreeBSD.org
Wed Jul 8 09:52:16 UTC 2020


Author: pkubaj
Date: Wed Jul  8 09:52:15 2020
New Revision: 541475
URL: https://svnweb.freebsd.org/changeset/ports/541475

Log:
  emulators/simh-hp2100: fix build on GCC architectures
  
  GCC architectures don't have clang. Tested to build on both 12.1 with GCC and head with LLVM.
  
  MFH:		2020Q3 (fix build blanket)

Modified:
  head/emulators/simh-hp2100/Makefile

Modified: head/emulators/simh-hp2100/Makefile
==============================================================================
--- head/emulators/simh-hp2100/Makefile	Wed Jul  8 09:40:35 2020	(r541474)
+++ head/emulators/simh-hp2100/Makefile	Wed Jul  8 09:52:15 2020	(r541475)
@@ -34,7 +34,7 @@ SUB_FILES=	hp2100.1
 .include <bsd.port.pre.mk>
 
 do-build:
-	(cd ${WRKSRC}; GCC=clang ${GMAKE} -C SCP hp2100)
+	(cd ${WRKSRC}; GCC="${CC}" ${GMAKE} -C SCP hp2100)
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/hp2100 ${STAGEDIR}${PREFIX}/bin


More information about the svn-ports-all mailing list