aboutsummaryrefslogtreecommitdiff
path: root/devel/avr-binutils/Makefile
diff options
context:
space:
mode:
authorJoerg Wunsch <joerg@FreeBSD.org>2007-10-27 21:21:50 +0000
committerJoerg Wunsch <joerg@FreeBSD.org>2007-10-27 21:21:50 +0000
commitf43e9d0fe972a17348602db9459e59337aefe08e (patch)
treebde48ce19080a783db2384d5d783fe95d833c100 /devel/avr-binutils/Makefile
parentd98745653616d3cce78579131ab0876446412902 (diff)
Update to binutils-2.18.
Notes
Notes: svn path=/head/; revision=202169
Diffstat (limited to 'devel/avr-binutils/Makefile')
-rw-r--r--devel/avr-binutils/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/devel/avr-binutils/Makefile b/devel/avr-binutils/Makefile
index f29efd5a9496..d3fda9ee6134 100644
--- a/devel/avr-binutils/Makefile
+++ b/devel/avr-binutils/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= binutils
-PORTVERSION= 2.17
-PORTREVISION= 5
+PORTVERSION= 2.18
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEWARE}
MASTER_SITE_SUBDIR= binutils/releases
@@ -16,12 +15,16 @@ PKGNAMEPREFIX= avr-
MAINTAINER= joerg@freebsd.org
COMMENT= GNU binutils for Atmel AVR 8-bit RISC cross-development
+BUILD_DEPENDS= msgfmt:${PORTSDIR}/devel/gettext
+
WRKSRC= ${WRKDIR}/binutils-${PORTVERSION}
USE_BZIP2= yes
USE_GMAKE= yes
CONFIGURE_ARGS= --target=avr
GNU_CONFIGURE= yes
+CONFIGURE_ENV+= CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
.if (${MACHINE_ARCH} == "amd64")
MACHINE_ARCH= x86_64
.endif