svn commit: r564216 - head/sysutils/grub2-bhyve

Gerald Pfeifer gerald at FreeBSD.org
Sat Feb 6 11:48:18 UTC 2021


Author: gerald
Date: Sat Feb  6 11:48:18 2021
New Revision: 564216
URL: https://svnweb.freebsd.org/changeset/ports/564216

Log:
  Convert sysutils/grub2-bhyve to use the new "build" argument to USE_GCC,
  replacing direct manipulation of RUN_DEPENDS by the more declarative and
  simpler USE_GCC=yes:build.
  
  PR:		211154

Modified:
  head/sysutils/grub2-bhyve/Makefile

Modified: head/sysutils/grub2-bhyve/Makefile
==============================================================================
--- head/sysutils/grub2-bhyve/Makefile	Sat Feb  6 11:47:47 2021	(r564215)
+++ head/sysutils/grub2-bhyve/Makefile	Sat Feb  6 11:48:18 2021	(r564216)
@@ -20,7 +20,7 @@ SSP_UNSAFE=	yes
 USE_GITHUB=	yes
 GH_ACCOUNT=	grehan-freebsd
 USES=		bison gmake
-USE_GCC=	yes
+USE_GCC=	yes:build
 PLIST_FILES=	sbin/grub-bhyve
 MAKE_JOBS_UNSAFE=	yes
 CONFIGURE_ARGS=	--with-platform=emu CC=${CC} LEX=${LOCALBASE}/bin/flex \
@@ -38,5 +38,3 @@ do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/grub-core/grub-emu ${STAGEDIR}${LOCALBASE}/sbin/grub-bhyve
 
 .include <bsd.port.mk>
-
-RUN_DEPENDS:=	${RUN_DEPENDS:Ngcc*}


More information about the svn-ports-all mailing list