9b9c4750c1
Revert from USE_LIBTOOL to binutil's own libtool, as libtool13 could not grok the --without-pic option, and the configure script is not prepared to handle libtool15 (yet) which in turn could have understood --without-pic. Sigh. At least, that way we can avoid the overhead of building all the unneeded shared libs. Still, libtool insists on installing libbfd.la. As this file is really small, I give in, and added it to pkg-plist.
44 lines
911 B
Makefile
44 lines
911 B
Makefile
# New ports collection makefile for: libbfd
|
|
# Date created: 26 Feb 2004
|
|
# Whom: Joerg Wunsch <joerg@freebsd.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= libbfd
|
|
PORTVERSION= 2.15
|
|
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
|
|
|
|
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")
|
|
CONFIGURE_ARGS+= --host=x86_64-portbld-freebsd${OSREL}
|
|
.endif
|
|
|
|
INFO= bfd
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OSVERSION} < 500000
|
|
BROKEN= "Does not compile on FreeBSD 4.x"
|
|
.endif
|
|
|
|
.if ${ARCH} == "amd64"
|
|
BROKEN= "Configure fails on amd64"
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|