aboutsummaryrefslogtreecommitdiffstats
path: root/devel/libbfd/Makefile
blob: 2af28e21007e4fd4e11a4e4b71baffb031d8783a (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
# Created by: Joerg Wunsch <joerg@FreeBSD.org>
# $FreeBSD$

PORTNAME=   libbfd
PORTVERSION=    2.19.1
CATEGORIES= devel
MASTER_SITES=   ${MASTER_SITE_SOURCEWARE}
MASTER_SITE_SUBDIR= binutils/releases
DISTNAME=   binutils-${PORTVERSION}

MAINTAINER= joerg@FreeBSD.org
COMMENT=    Universal BFD library from GNU binutils

BUILD_DEPENDS=  ${LOCALBASE}/lib/libiberty.a:${PORTSDIR}/devel/gnulibiberty

CONFLICTS=  mingw-binutils-[0-9]* binutils-[0-9]*

WRKSRC=     ${WRKDIR}/binutils-${PORTVERSION}/bfd

USE_BZIP2=  yes
USE_GMAKE=  yes
GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --enable-install-libbfd \
        --enable-commonbfdlib \
        --disable-nls \
        --without-pic \
        --enable-targets=all \
        --disable-werror
INFO=       bfd

NO_STAGE=   yes
.include <bsd.port.pre.mk>

.if ${ARCH} == "amd64"
ARCH=       x86_64
.endif

.include <bsd.port.post.mk>