lang/gcc which have moved from GCC 4.9.4 to GCC 5.4 (at least under some circumstances such as versions of FreeBSD or platforms). This includes ports - with USE_GCC=yes or USE_GCC=any, - with USES=fortran, - using using Mk/bsd.octave.mk which in turn has USES=fortran, and - with USES=compiler specifying openmp, nestedfct, c++11-lib, c++14-lang, c++11-lang, c++0x, c11, or gcc-c++11-lib. PR: 216707
57 lines
1.4 KiB
Makefile
57 lines
1.4 KiB
Makefile
# Created by: kmoore@FreeBSD.org
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= grub2-efi
|
|
PORTVERSION= 2.02
|
|
PORTREVISION= 16
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= http://www.pcbsd.org/~kris/software/ \
|
|
ftp://ftp.pcbsd.org/pub/software/
|
|
DISTNAME= grub-${PORTVERSION}_7
|
|
|
|
MAINTAINER= kmoore@FreeBSD.org
|
|
COMMENT= Multiboot EFI boot loader
|
|
|
|
LICENSE= GPLv3
|
|
|
|
RUN_DEPENDS= ${LOCALBASE}/bin/mformat:emulators/mtools \
|
|
${LOCALBASE}/bin/grub-mkrescue:sysutils/grub2-pcbsd
|
|
BUILD_DEPENDS= ${LOCALBASE}/bin/flex:textproc/flex \
|
|
${LOCALBASE}/bin/bash:shells/bash \
|
|
help2man:misc/help2man
|
|
|
|
WRKSRC= ${WRKDIR}/grub-${PORTVERSION}
|
|
SSP_UNSAFE= yes
|
|
USE_GCC= yes
|
|
ACLOCAL_ARGS= -Im4
|
|
GNU_CONFIGURE= yes
|
|
USES= autoreconf bison cpe gettext gmake python tar:xz
|
|
ONLY_FOR_ARCHS= amd64
|
|
MAKE_JOBS_UNSAFE= yes
|
|
|
|
CPE_PRODUCT= grub
|
|
CPE_VENDOR= gnu
|
|
|
|
CONFIGURE_ARGS= --with-platform=efi --disable-werror --localedir=${PREFIX}/share/locale
|
|
CONFIGURE_ENV= CPP="${CC} -E" \
|
|
LEX=${LOCALBASE}/bin/flex
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
post-patch:
|
|
@${LN} -s ${LOCALBASE}/share/fonts/dejavu/DejaVuSans.ttf ${WRKSRC}
|
|
@${TOUCH} -t 200001010000 ${WRKSRC}/Makefile.util.def
|
|
|
|
pre-configure:
|
|
@${REINPLACE_CMD} -e 's|python|${PYTHON_CMD}|g' ${WRKSRC}/autogen.sh
|
|
cd ${WRKSRC} && ./autogen.sh
|
|
|
|
post-configure:
|
|
@${LN} -sfh /usr/include/machine /usr/include/sys /usr/include/x86 ${WRKSRC}/grub-core
|
|
|
|
do-install:
|
|
@cd ${WRKSRC}/grub-core && ${GMAKE} install DESTDIR=${STAGEDIR}
|
|
|
|
RUN_DEPENDS:= ${RUN_DEPENDS:Ngcc*}
|
|
|
|
.include <bsd.port.post.mk>
|