blob: 36e93ec1ed389d49af0a6e2df32291a657185d4a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# 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_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>
|