summaryrefslogtreecommitdiff
path: root/cross/avr-gcc
diff options
context:
space:
mode:
authordsainty <dsainty>2013-11-20 11:00:43 +0000
committerdsainty <dsainty>2013-11-20 11:00:43 +0000
commite98d6919280d49dbe85f5cef5bef5b52768d508a (patch)
tree107122d1ff152d90db3cd447f5484377274a577b /cross/avr-gcc
parentee03ceb80c5a860c63a4b9d24d7ad4710ef7c1ff (diff)
downloadpkgsrc-e98d6919280d49dbe85f5cef5bef5b52768d508a.tar.gz
GCC now wants zlib - and comes with an internal copy as an alternative to
using the system/Pkgsrc zlib. At least on Ubuntu, the internal zlib fails to get past configuration. Use the standard Pkgsrc (or builtin) zlib instead. Bump PKGREVISION to reflect the minor difference in build strategy.
Diffstat (limited to 'cross/avr-gcc')
-rw-r--r--cross/avr-gcc/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/cross/avr-gcc/Makefile b/cross/avr-gcc/Makefile
index caddd4f103b..3a0c73ab018 100644
--- a/cross/avr-gcc/Makefile
+++ b/cross/avr-gcc/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.31 2013/08/27 15:41:05 joerg Exp $
+# $NetBSD: Makefile,v 1.32 2013/11/20 11:00:43 dsainty Exp $
DISTNAME= gcc-4.5.3
PKGNAME= avr-gcc-4.5.3
+PKGREVISION= 1
CATEGORIES= cross
MASTER_SITES= ${MASTER_SITE_GNU:=gcc/releases/${DISTNAME}/}
EXTRACT_SUFX= .tar.bz2
@@ -25,6 +26,7 @@ USE_GNU_CONFIGURE_HOST= no
CONFIGURE_ARGS+= --target=avr
CONFIGURE_ARGS+= --disable-nls --disable-lto
CONFIGURE_ARGS+= --enable-multilib
+CONFIGURE_ARGS+= --with-system-zlib
MAKE_ENV+= MACHINE_ARCH=avr
MAKE_ENV+= SHELL=${CONFIG_SHELL}
@@ -49,6 +51,7 @@ CONFIGURE_SCRIPT= ${WRKSRC}/configure
INSTALLATION_DIRS+= avr/bin
.include "../../devel/gmp/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
.include "../../math/mpfr/buildlink3.mk"
# mpc is required since gcc-4.5.x
.include "../../math/mpcomplex/buildlink3.mk"