1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-16 03:24:07 +00:00
freebsd-ports/devel/libbfd/Makefile
Mark Linimon bf43557044 For ports that are marked BROKEN on armv6, and also fail to build on
armv7, mark them so.

This is part two of a multipart commit to bring armv7 ports to parity
with armv6.

Approved by:	portmgr (tier-2 blanket)
Obtained from:	lonesome.com -exp run
2017-11-30 06:13:34 +00:00

44 lines
1.4 KiB
Makefile

# Created by: Joerg Wunsch <joerg@FreeBSD.org>
# $FreeBSD$
PORTNAME= libbfd
PORTVERSION= 2.19.1
PORTREVISION= 2
CATEGORIES= devel
MASTER_SITES= SOURCEWARE/binutils/releases
DISTNAME= binutils-${PORTVERSION}
MAINTAINER= joerg@FreeBSD.org
COMMENT= Universal BFD library from GNU binutils
CONFLICTS= mingw-binutils-[0-9]* binutils-[0-9]*
WRKSRC= ${WRKDIR}/binutils-${PORTVERSION}/bfd
USES= libtool tar:bzip2
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-install-libbfd \
--disable-nls \
--enable-shared \
--enable-targets=all \
--disable-werror
CONFIGURE_TARGET=${ARCH:S/amd64/x86_64/}-portbld-${OPSYS:tl}${OSREL}
INFO= bfd
BROKEN_aarch64= Fails to configure: machine aarch64-portbld not recognized
BROKEN_armv6= Fails to configure: BFD does not support target armv6-portbld-freebsd12.0
BROKEN_armv7= Fails to configure: BFD does not support target armv7-portbld-freebsd12.0
BROKEN_mips64= Fails to configure: BFD does not support target mips64-portbld-freebsd12.0
pre-configure:
# Configure and build pic version of libiberty
(cd ${WRKSRC}/../libiberty && \
${SETENV} CC="${CC}" CFLAGS="${CFLAGS}" CPP="${CPP}" \
CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" \
LIBS="${LIBS}" ${CONFIGURE_ENV} ./configure \
${CONFIGURE_ARGS} --build=${CONFIGURE_TARGET} && \
${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} ${MAKEFILE} \
${MAKE_ARGS})
.include <bsd.port.mk>