mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-11 02:50:24 +00:00
e417b927b7
Enable port for amd64 as well. Submitted by: Manuel Stuehn <manuel.stuehn@gmx.net> (amd64 patch)
45 lines
921 B
Makefile
45 lines
921 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
|
|
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
|
|
.if (${MACHINE_ARCH} == "amd64")
|
|
MACHINE_ARCH= x86_64
|
|
.endif
|
|
|
|
INFO= bfd
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OSVERSION} < 500000
|
|
BROKEN= "Does not compile on FreeBSD 4.x"
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|