1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/devel/libbfd/Makefile
Joerg Wunsch 8efd47d55b Minor upgrade to binutils-2.16.1, and fix the architecture name
mismatch for amd64 vs. x86_64 (once again), so it is no longer
BROKEN on amd64.

Approved by:	portmgr (linimon)
2006-02-28 21:25:16 +00:00

46 lines
907 B
Makefile

# New ports collection makefile for: libbfd
# Date created: 26 Feb 2004
# Whom: Joerg Wunsch <joerg@freebsd.org>
#
# $FreeBSD$
#
PORTNAME= libbfd
PORTVERSION= 2.16.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]*
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
INFO= bfd
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500000
BROKEN= "Does not compile on FreeBSD 4.x"
.endif
.if ${ARCH} == "amd64"
ARCH= x86_64
.endif
.include <bsd.port.post.mk>