Thu Oct 30 21:48:47 2014 UTC ()
'CONFIG_SHELL= ksh' is only necessary for NetBSD-[5-6]* and 6.99.*


(mef)
diff -r1.11 -r1.12 pkgsrc/cross/nios2-binutils/Makefile

cvs diff -r1.11 -r1.12 pkgsrc/cross/nios2-binutils/Attic/Makefile (expand / switch to unified diff)

--- pkgsrc/cross/nios2-binutils/Attic/Makefile 2014/10/23 10:30:10 1.11
+++ pkgsrc/cross/nios2-binutils/Attic/Makefile 2014/10/30 21:48:47 1.12
@@ -1,38 +1,44 @@ @@ -1,38 +1,44 @@
1# $NetBSD: Makefile,v 1.11 2014/10/23 10:30:10 mef Exp $ 1# $NetBSD: Makefile,v 1.12 2014/10/30 21:48:47 mef Exp $
2 2
3DISTNAME= binutils-2.24 3DISTNAME= binutils-2.24
4PKGNAME= ${DISTNAME:S/^/nios2-/} 4PKGNAME= ${DISTNAME:S/^/nios2-/}
5PKGREVISION= 1 5PKGREVISION= 1
6CATEGORIES= cross 6CATEGORIES= cross
7MASTER_SITES= ${MASTER_SITE_GNU:=binutils/} 7MASTER_SITES= ${MASTER_SITE_GNU:=binutils/}
8EXTRACT_SUFX= .tar.bz2 8EXTRACT_SUFX= .tar.bz2
9 9
10MAINTAINER= pkgsrc-users@NetBSD.org 10MAINTAINER= pkgsrc-users@NetBSD.org
11HOMEPAGE= http://www.gnu.org/software/binutils/ 11HOMEPAGE= http://www.gnu.org/software/binutils/
12COMMENT= GNU binutils for Altera FPGA Nios2 processor 12COMMENT= GNU binutils for Altera FPGA Nios2 processor
13LICENSE= gnu-gpl-v3 13LICENSE= gnu-gpl-v3
14 14
15# No need to use makeinfo - this package doesn't install the documentation. 15# No need to use makeinfo - this package doesn't install the documentation.
16USE_TOOLS+= gmake 16USE_TOOLS+= gmake
17USE_LANGUAGES= c c++ 17USE_LANGUAGES= c c++
18USE_LIBTOOL= yes 18USE_LIBTOOL= yes
19GNU_CONFIGURE= yes 19GNU_CONFIGURE= yes
20USE_PKGLOCALEDIR= yes 20USE_PKGLOCALEDIR= yes
21USE_GNU_CONFIGURE_HOST= no 21USE_GNU_CONFIGURE_HOST= no
22INFO_FILES= # empty 22INFO_FILES= # empty
23# ./configure.lineno: 3239: Syntax error: Missing '}' 23
24# Makefile:2991: recipe for target 'configure-opcodes' failed 24# follows to devel/binutils
25CONFIG_SHELL= ksh 25# PR pkg/48504, ksh is sufficient for NetBSD 5.2 and NetBSD 6.1
 26.include "../../mk/bsd.prefs.mk"
 27.if !empty(MACHINE_PLATFORM:MNetBSD-[5-6].*-*) && \
 28 empty(MACHINE_PLATFORM:MNetBSD-6.99.*-*)
 29USE_TOOLS+= ksh
 30CONFIG_SHELL= ksh
 31.endif
26 32
27NIOS2_TARGET= nios2-elf 33NIOS2_TARGET= nios2-elf
28CONFIGURE_ARGS+= --disable-werror --target=${NIOS2_TARGET} --disable-nls 34CONFIGURE_ARGS+= --disable-werror --target=${NIOS2_TARGET} --disable-nls
29PLIST_SUBST+= NIOS2_TARGET=${NIOS2_TARGET:Q} 35PLIST_SUBST+= NIOS2_TARGET=${NIOS2_TARGET:Q}
30 36
31USE_CROSSBASE= yes 37USE_CROSSBASE= yes
32BUILD_DEFS+= CROSSBASE 38BUILD_DEFS+= CROSSBASE
33PATH:= ${CROSSBASE}/bin:${PATH} 39PATH:= ${CROSSBASE}/bin:${PATH}
34AUTO_MKDIRS= yes 40AUTO_MKDIRS= yes
35 41
36# following file installed is reference only, not used at all for the moment 42# following file installed is reference only, not used at all for the moment
37post-install: 43post-install:
38 ${INSTALL_DATA} files/nios2elf-netbsd.x ${DESTDIR}${PREFIX}/${NIOS2_TARGET}/lib/ldscripts 44 ${INSTALL_DATA} files/nios2elf-netbsd.x ${DESTDIR}${PREFIX}/${NIOS2_TARGET}/lib/ldscripts