diff options
Diffstat (limited to 'sysutils/grub2-bhyve/Makefile')
-rw-r--r-- | sysutils/grub2-bhyve/Makefile | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/sysutils/grub2-bhyve/Makefile b/sysutils/grub2-bhyve/Makefile index 06cd80536dbe..c7f9355d51be 100644 --- a/sysutils/grub2-bhyve/Makefile +++ b/sysutils/grub2-bhyve/Makefile @@ -3,7 +3,7 @@ PORTNAME= grub2-bhyve DISTVERSION= 0.22 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= sysutils MAINTAINER= kmoore@FreeBSD.org @@ -16,17 +16,17 @@ BUILD_DEPENDS= ${LOCALBASE}/bin/flex:${PORTSDIR}/textproc/flex \ ONLY_FOR_ARCHS= amd64 SSP_UNSAFE= yes -USE_GCC= yes USE_GITHUB= yes GH_ACCOUNT= grehan-freebsd GH_COMMIT= 10795f1 GH_TAGNAME= v0.22 -USES= bison gettext gmake +USES= bison gmake +USE_GCC= yes PLIST_FILES= sbin/grub-bhyve MAKE_JOBS_UNSAFE= yes CONFIGURE_ARGS= --with-platform=emu CC=${CC} LEX=${LOCALBASE}/bin/flex \ --enable-grub-mount=no --enable-grub-mkfont=no \ - --enable-grub-emu-sdl=no + --enable-grub-emu-sdl=no --disable-nls .include <bsd.port.pre.mk> @@ -34,6 +34,10 @@ CONFIGURE_ARGS= --with-platform=emu CC=${CC} LEX=${LOCALBASE}/bin/flex \ IGNORE= for FreeBSD 10 and higher .endif +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} @@ -41,3 +45,5 @@ do-install: ${INSTALL_PROGRAM} ${WRKSRC}/grub-core/grub-emu ${STAGEDIR}${LOCALBASE}/sbin/grub-bhyve .include <bsd.port.post.mk> + +RUN_DEPENDS:= ${RUN_DEPENDS:Ngcc*} |