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

Baptiste Daroussin bapt at FreeBSD.org
Mon Mar 29 21:06:34 UTC 2021


Author: bapt
Date: Mon Mar 29 21:06:34 2021
New Revision: 569511
URL: https://svnweb.freebsd.org/changeset/ports/569511

Log:
  sysutils/grub2-bhyve: properly use CONFIGURE macros

Modified:
  head/sysutils/grub2-bhyve/Makefile

Modified: head/sysutils/grub2-bhyve/Makefile
==============================================================================
--- head/sysutils/grub2-bhyve/Makefile	Mon Mar 29 20:41:34 2021	(r569510)
+++ head/sysutils/grub2-bhyve/Makefile	Mon Mar 29 21:06:34 2021	(r569511)
@@ -12,7 +12,7 @@ COMMENT=	Grub-emu loader for bhyve
 
 LICENSE=	GPLv3
 
-BUILD_DEPENDS=	${LOCALBASE}/bin/flex:textproc/flex \
+BULID_DEPENDS=	${LOCALBASE}/bin/flex:textproc/flex \
 		help2man:misc/help2man
 
 ONLY_FOR_ARCHS=	amd64
@@ -23,16 +23,14 @@ USES=		bison gmake
 USE_GCC=	yes:build
 PLIST_FILES=	sbin/grub-bhyve
 MAKE_JOBS_UNSAFE=	yes
-CONFIGURE_ARGS=	--with-platform=emu CC=${CC} LEX=${LOCALBASE}/bin/flex \
+GNU_CONFIGURE=	yes
+CONFIGURE_ARGS=	--with-platform=emu CPP="" LEX=${LOCALBASE}/bin/flex \
 		--enable-grub-mount=no --enable-grub-mkfont=no \
 		--enable-grub-emu-sdl=no --disable-nls --disable-werror
 
 post-patch:
 	@${REINPLACE_CMD} -e "s/libintl\.h/I_do_not_want_libintl.h/g" ${WRKSRC}/configure
 	@${REINPLACE_CMD} -e "s/-lintl//g" ${WRKSRC}/grub-core/Makefile.in
-
-do-configure:
-	@ cd ${WRKSRC}/ && ./configure ${CONFIGURE_ARGS}
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/grub-core/grub-emu ${STAGEDIR}${LOCALBASE}/sbin/grub-bhyve


More information about the svn-ports-all mailing list