summaryrefslogtreecommitdiff
path: root/cross
diff options
context:
space:
mode:
authorjakllsch <jakllsch@pkgsrc.org>2010-04-15 19:01:53 +0000
committerjakllsch <jakllsch@pkgsrc.org>2010-04-15 19:01:53 +0000
commit96a50c52c8e923f709210a0522244e671f1f55c7 (patch)
tree9892467bbf52a4ff645dcad8a8b5cfb1c2115327 /cross
parent959d4657305e8cdc71fee8a47c4eca79e81a19ae (diff)
downloadpkgsrc-96a50c52c8e923f709210a0522244e671f1f55c7.tar.gz
Include bsd.prefs.mk before adjusting CFLAGS/CXXFLAGS.
Prevents build failure due to exposure of host CFLAGS to target compiler. Increment PKGREVISION just in case.
Diffstat (limited to 'cross')
-rw-r--r--cross/avr-gcc/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/cross/avr-gcc/Makefile b/cross/avr-gcc/Makefile
index da4ab4ef1e1..8a8bc72c724 100644
--- a/cross/avr-gcc/Makefile
+++ b/cross/avr-gcc/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.23 2010/03/24 19:43:22 asau Exp $
+# $NetBSD: Makefile,v 1.24 2010/04/15 19:01:53 jakllsch Exp $
DISTNAME= gcc-4.4.1
PKGNAME= avr-gcc-4.4.1
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= cross
MASTER_SITES= ${MASTER_SITE_GNU:=gcc/releases/${DISTNAME}/}
EXTRACT_SUFX= .tar.bz2
@@ -17,6 +17,8 @@ PKG_DESTDIR_SUPPORT= user-destdir
DEPENDS+= avr-binutils-[0-9]*:../../cross/avr-binutils
BUILD_DEPENDS+= autoconf-[0-9]*:../../devel/autoconf
+.include "../../mk/bsd.prefs.mk"
+
GNU_CONFIGURE= yes
USE_TOOLS+= bison gmake lex perl tar msgfmt
USE_PKGLOCALEDIR= yes