aboutsummaryrefslogtreecommitdiff
path: root/devel/libbfd/Makefile
diff options
context:
space:
mode:
authorTijl Coosemans <tijl@FreeBSD.org>2014-08-29 10:32:44 +0000
committerTijl Coosemans <tijl@FreeBSD.org>2014-08-29 10:32:44 +0000
commit0c430038d8349682f5c7f483570fa52df672e5c7 (patch)
treeef676c23c75cbab8b808e9cef441273a52e27c0e /devel/libbfd/Makefile
parent45ce903c633825011d3dee99fbf6b476bcf7fcb7 (diff)
downloadports-0c430038d8349682f5c7f483570fa52df672e5c7.tar.gz
ports-0c430038d8349682f5c7f483570fa52df672e5c7.zip
Notes
Diffstat (limited to 'devel/libbfd/Makefile')
-rw-r--r--devel/libbfd/Makefile12
1 files changed, 4 insertions, 8 deletions
diff --git a/devel/libbfd/Makefile b/devel/libbfd/Makefile
index 0b3c514e1ce6..d704f31e7d07 100644
--- a/devel/libbfd/Makefile
+++ b/devel/libbfd/Makefile
@@ -3,6 +3,7 @@
PORTNAME= libbfd
PORTVERSION= 2.19.1
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEWARE}
MASTER_SITE_SUBDIR= binutils/releases
@@ -17,7 +18,7 @@ CONFLICTS= mingw-binutils-[0-9]* binutils-[0-9]*
WRKSRC= ${WRKDIR}/binutils-${PORTVERSION}/bfd
-USES= gmake tar:bzip2
+USES= gmake libtool tar:bzip2
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-install-libbfd \
--enable-commonbfdlib \
@@ -25,12 +26,7 @@ CONFIGURE_ARGS= --enable-install-libbfd \
--without-pic \
--enable-targets=all \
--disable-werror
+CONFIGURE_TARGET=${ARCH:S/amd64/x86_64/}-portbld-${OPSYS:tl}${OSREL}
INFO= bfd
-.include <bsd.port.pre.mk>
-
-.if ${ARCH} == "amd64"
-ARCH= x86_64
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>