use http master site for newlibdiff -r1.7 -r1.8 pkgsrc/cross/aarch64-none-elf-gcc/Makefile
(tnn)
@@ -1,59 +1,59 @@ | @@ -1,59 +1,59 @@ | |||
1 | # $NetBSD: Makefile,v 1.7 2019/03/22 13:02:25 tnn Exp $ | 1 | # $NetBSD: Makefile,v 1.8 2019/03/22 13:16:33 tnn Exp $ | |
2 | 2 | |||
3 | DISTNAME= gcc-8.2.0 | 3 | DISTNAME= gcc-8.2.0 | |
4 | PKGNAME= cross-aarch64-none-elf-${DISTNAME} | 4 | PKGNAME= cross-aarch64-none-elf-${DISTNAME} | |
5 | CATEGORIES= cross | 5 | CATEGORIES= cross | |
6 | MASTER_SITES= ${MASTER_SITE_GNU:=gcc/gcc-${PKGVERSION_NOREV}/} | 6 | MASTER_SITES= ${MASTER_SITE_GNU:=gcc/gcc-${PKGVERSION_NOREV}/} | |
7 | NEWLIBVER= 3.0.0 | 7 | NEWLIBVER= 3.0.0 | |
8 | SITES.newlib-${NEWLIBVER}.tar.gz=ftp://sources.redhat.com/pub/newlib/ | 8 | SITES.newlib-${NEWLIBVER}.tar.gz=https://www.sourceware.org/pub/newlib/ | |
9 | DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ | 9 | DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ | |
10 | newlib-${NEWLIBVER}.tar.gz | 10 | newlib-${NEWLIBVER}.tar.gz | |
11 | EXTRACT_USING= bsdtar | 11 | EXTRACT_USING= bsdtar | |
12 | 12 | |||
13 | MAINTAINER= port-arm@NetBSD.org | 13 | MAINTAINER= port-arm@NetBSD.org | |
14 | HOMEPAGE= # none | 14 | HOMEPAGE= # none | |
15 | COMMENT= GCC for bare metal AArch64 ELF | 15 | COMMENT= GCC for bare metal AArch64 ELF | |
16 | EXTRACT_SUFX= .tar.xz | 16 | EXTRACT_SUFX= .tar.xz | |
17 | 17 | |||
18 | # for http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33549 | 18 | # for http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33549 | |
19 | # use makeinfo from pkgsrc/devel/gtexinfo. | 19 | # use makeinfo from pkgsrc/devel/gtexinfo. | |
20 | TOOL_DEPENDS+= gtexinfo>=5.1:../../devel/gtexinfo | 20 | TOOL_DEPENDS+= gtexinfo>=5.1:../../devel/gtexinfo | |
21 | _TOOLS_USE_PKGSRC.makeinfo=yes | 21 | _TOOLS_USE_PKGSRC.makeinfo=yes | |
22 | 22 | |||
23 | DEPENDS+= cross-aarch64-none-elf-binutils-[0-9]*:../../cross/aarch64-none-elf-binutils | 23 | DEPENDS+= cross-aarch64-none-elf-binutils-[0-9]*:../../cross/aarch64-none-elf-binutils | |
24 | 24 | |||
25 | USE_LANGUAGES+= c c++ | 25 | USE_LANGUAGES+= c c++ | |
26 | 26 | |||
27 | AARCH64ELF_PREFIX= ${PREFIX}/cross-aarch64-none-elf | 27 | AARCH64ELF_PREFIX= ${PREFIX}/cross-aarch64-none-elf | |
28 | OBJDIR= ../build | 28 | OBJDIR= ../build | |
29 | CONFIGURE_DIRS= ${OBJDIR} | 29 | CONFIGURE_DIRS= ${OBJDIR} | |
30 | CONFIGURE_SCRIPT= ../${DISTNAME}/configure | 30 | CONFIGURE_SCRIPT= ../${DISTNAME}/configure | |
31 | 31 | |||
32 | CONFIG_SHELL= ${TOOLS_PATH.bash} | 32 | CONFIG_SHELL= ${TOOLS_PATH.bash} | |
33 | WRAPPER_SHELL= ${TOOLS_PATH.bash} | 33 | WRAPPER_SHELL= ${TOOLS_PATH.bash} | |
34 | USE_TOOLS+= bash perl | 34 | USE_TOOLS+= bash perl | |
35 | 35 | |||
36 | USE_TOOLS+= gmake makeinfo | 36 | USE_TOOLS+= gmake makeinfo | |
37 | GNU_CONFIGURE= yes | 37 | GNU_CONFIGURE= yes | |
38 | 38 | |||
39 | GNU_CONFIGURE_PREFIX= ${AARCH64ELF_PREFIX} | 39 | GNU_CONFIGURE_PREFIX= ${AARCH64ELF_PREFIX} | |
40 | 40 | |||
41 | CONFIGURE_ARGS+= --target=aarch64-none-elf | 41 | CONFIGURE_ARGS+= --target=aarch64-none-elf | |
42 | CONFIGURE_ARGS+= --enable-languages=c,c++ | 42 | CONFIGURE_ARGS+= --enable-languages=c,c++ | |
43 | CONFIGURE_ARGS+= --with-newlib | 43 | CONFIGURE_ARGS+= --with-newlib | |
44 | CONFIGURE_ARGS+= --disable-nls | 44 | CONFIGURE_ARGS+= --disable-nls | |
45 | CONFIGURE_ARGS+= --disable-libstdcxx-pch | 45 | CONFIGURE_ARGS+= --disable-libstdcxx-pch | |
46 | 46 | |||
47 | INFO_FILES= yes | 47 | INFO_FILES= yes | |
48 | 48 | |||
49 | post-extract: | 49 | post-extract: | |
50 | ${LN} -s ${WRKDIR}/newlib-${NEWLIBVER}/newlib ${WRKSRC}/newlib | 50 | ${LN} -s ${WRKDIR}/newlib-${NEWLIBVER}/newlib ${WRKSRC}/newlib | |
51 | ${LN} -s ${WRKDIR}/newlib-${NEWLIBVER}/libgloss ${WRKSRC}/libgloss | 51 | ${LN} -s ${WRKDIR}/newlib-${NEWLIBVER}/libgloss ${WRKSRC}/libgloss | |
52 | 52 | |||
53 | pre-configure: | 53 | pre-configure: | |
54 | ${RUN} cd ${WRKSRC} && ${MKDIR} ${OBJDIR} | 54 | ${RUN} cd ${WRKSRC} && ${MKDIR} ${OBJDIR} | |
55 | 55 | |||
56 | .include "../../devel/gmp/buildlink3.mk" | 56 | .include "../../devel/gmp/buildlink3.mk" | |
57 | .include "../../math/mpfr/buildlink3.mk" | 57 | .include "../../math/mpfr/buildlink3.mk" | |
58 | .include "../../math/mpcomplex/buildlink3.mk" | 58 | .include "../../math/mpcomplex/buildlink3.mk" | |
59 | .include "../../mk/bsd.pkg.mk" | 59 | .include "../../mk/bsd.pkg.mk" |
@@ -1,68 +1,67 @@ | @@ -1,68 +1,67 @@ | |||
1 | # $NetBSD: Makefile,v 1.22 2019/03/22 13:02:25 tnn Exp $ | 1 | # $NetBSD: Makefile,v 1.23 2019/03/22 13:16:33 tnn Exp $ | |
2 | 2 | |||
3 | DISTNAME= gcc-8.2.0 | 3 | DISTNAME= gcc-8.2.0 | |
4 | PKGNAME= cross-arm-none-eabi-${DISTNAME} | 4 | PKGNAME= cross-arm-none-eabi-${DISTNAME} | |
5 | PKGREVISION= 1 | 5 | PKGREVISION= 1 | |
6 | CATEGORIES= cross | 6 | CATEGORIES= cross | |
7 | NEWLIBVER= 3.0.0 | 7 | NEWLIBVER= 3.0.0 | |
8 | MASTER_SITES= ${MASTER_SITE_GNU:=gcc/gcc-${PKGVERSION_NOREV}/} | 8 | MASTER_SITES= ${MASTER_SITE_GNU:=gcc/gcc-${PKGVERSION_NOREV}/} | |
9 | EXTRACT_SUFX= .tar.xz | 9 | EXTRACT_SUFX= .tar.xz | |
10 | DISTFILES= ${DEFAULT_DISTFILES} \ | 10 | DISTFILES= ${DEFAULT_DISTFILES} \ | |
11 | newlib-${NEWLIBVER}.tar.gz | 11 | newlib-${NEWLIBVER}.tar.gz | |
12 | SITES.newlib-${NEWLIBVER}.tar.gz= ftp://sources.redhat.com/pub/newlib/ | 12 | SITES.newlib-${NEWLIBVER}.tar.gz= https://www.sourceware.org/pub/newlib/ | |
13 | ||||
14 | 13 | |||
15 | MAINTAINER= ryoon@NetBSD.org | 14 | MAINTAINER= ryoon@NetBSD.org | |
16 | HOMEPAGE= # none | 15 | HOMEPAGE= # none | |
17 | COMMENT= GCC for bare metal ARM EABI | 16 | COMMENT= GCC for bare metal ARM EABI | |
18 | 17 | |||
19 | EXTRACT_USING= bsdtar | 18 | EXTRACT_USING= bsdtar | |
20 | 19 | |||
21 | # for http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33549 | 20 | # for http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33549 | |
22 | # use makeinfo from pkgsrc/devel/gtexinfo. | 21 | # use makeinfo from pkgsrc/devel/gtexinfo. | |
23 | TOOL_DEPENDS+= gtexinfo>=5.1:../../devel/gtexinfo | 22 | TOOL_DEPENDS+= gtexinfo>=5.1:../../devel/gtexinfo | |
24 | _TOOLS_USE_PKGSRC.makeinfo= yes | 23 | _TOOLS_USE_PKGSRC.makeinfo= yes | |
25 | 24 | |||
26 | DEPENDS+= cross-arm-none-eabi-binutils-[0-9]*:../../cross/arm-none-eabi-binutils | 25 | DEPENDS+= cross-arm-none-eabi-binutils-[0-9]*:../../cross/arm-none-eabi-binutils | |
27 | 26 | |||
28 | USE_LANGUAGES+= c c++ | 27 | USE_LANGUAGES+= c c++ | |
29 | 28 | |||
30 | ARMELF_PREFIX= ${PREFIX}/cross-arm-none-eabi | 29 | ARMELF_PREFIX= ${PREFIX}/cross-arm-none-eabi | |
31 | OBJDIR= ../build | 30 | OBJDIR= ../build | |
32 | CONFIGURE_DIRS= ${OBJDIR} | 31 | CONFIGURE_DIRS= ${OBJDIR} | |
33 | CONFIGURE_SCRIPT= ../${DISTNAME}/configure | 32 | CONFIGURE_SCRIPT= ../${DISTNAME}/configure | |
34 | 33 | |||
35 | CONFIG_SHELL= ${TOOLS_PATH.bash} | 34 | CONFIG_SHELL= ${TOOLS_PATH.bash} | |
36 | WRAPPER_SHELL= ${TOOLS_PATH.bash} | 35 | WRAPPER_SHELL= ${TOOLS_PATH.bash} | |
37 | USE_TOOLS+= bash gmake gsed makeinfo perl | 36 | USE_TOOLS+= bash gmake gsed makeinfo perl | |
38 | 37 | |||
39 | GNU_CONFIGURE= yes | 38 | GNU_CONFIGURE= yes | |
40 | 39 | |||
41 | GNU_CONFIGURE_PREFIX= ${ARMELF_PREFIX} | 40 | GNU_CONFIGURE_PREFIX= ${ARMELF_PREFIX} | |
42 | 41 | |||
43 | CONFIGURE_ARGS+= --target=arm-none-eabi | 42 | CONFIGURE_ARGS+= --target=arm-none-eabi | |
44 | CONFIGURE_ARGS+= --enable-languages=c,c++ | 43 | CONFIGURE_ARGS+= --enable-languages=c,c++ | |
45 | CONFIGURE_ARGS+= --with-newlib | 44 | CONFIGURE_ARGS+= --with-newlib | |
46 | CONFIGURE_ARGS+= --disable-nls | 45 | CONFIGURE_ARGS+= --disable-nls | |
47 | CONFIGURE_ARGS+= --disable-libstdcxx-pch | 46 | CONFIGURE_ARGS+= --disable-libstdcxx-pch | |
48 | 47 | |||
49 | INFO_FILES= yes | 48 | INFO_FILES= yes | |
50 | 49 | |||
51 | PLIST_VARS+= libcpp | 50 | PLIST_VARS+= libcpp | |
52 | 51 | |||
53 | .include "../../mk/bsd.prefs.mk" | 52 | .include "../../mk/bsd.prefs.mk" | |
54 | .if ${OPSYS} == "FreeBSD" || ${OPSYS} == "Linux" || ${OPSYS} == "NetBSD" || ${OPSYS} == "SunOS" || ${OPSYS} == "Darwin" | 53 | .if ${OPSYS} == "FreeBSD" || ${OPSYS} == "Linux" || ${OPSYS} == "NetBSD" || ${OPSYS} == "SunOS" || ${OPSYS} == "Darwin" | |
55 | PLIST.libcpp= yes | 54 | PLIST.libcpp= yes | |
56 | .endif | 55 | .endif | |
57 | 56 | |||
58 | post-extract: | 57 | post-extract: | |
59 | ${LN} -s ${WRKDIR}/newlib-${NEWLIBVER}/newlib ${WRKSRC}/newlib | 58 | ${LN} -s ${WRKDIR}/newlib-${NEWLIBVER}/newlib ${WRKSRC}/newlib | |
60 | ${LN} -s ${WRKDIR}/newlib-${NEWLIBVER}/libgloss ${WRKSRC}/libgloss | 59 | ${LN} -s ${WRKDIR}/newlib-${NEWLIBVER}/libgloss ${WRKSRC}/libgloss | |
61 | 60 | |||
62 | pre-configure: | 61 | pre-configure: | |
63 | ${RUN} cd ${WRKSRC} && ${MKDIR} ${OBJDIR} | 62 | ${RUN} cd ${WRKSRC} && ${MKDIR} ${OBJDIR} | |
64 | 63 | |||
65 | .include "../../devel/gmp/buildlink3.mk" | 64 | .include "../../devel/gmp/buildlink3.mk" | |
66 | .include "../../math/mpfr/buildlink3.mk" | 65 | .include "../../math/mpfr/buildlink3.mk" | |
67 | .include "../../math/mpcomplex/buildlink3.mk" | 66 | .include "../../math/mpcomplex/buildlink3.mk" | |
68 | .include "../../mk/bsd.pkg.mk" | 67 | .include "../../mk/bsd.pkg.mk" |
@@ -1,62 +1,62 @@ | @@ -1,62 +1,62 @@ | |||
1 | # $NetBSD: Makefile,v 1.5 2018/07/18 00:06:12 joerg Exp $ | 1 | # $NetBSD: Makefile,v 1.6 2019/03/22 13:16:33 tnn Exp $ | |
2 | 2 | |||
3 | DISTNAME= gcc-6.2.0 | 3 | DISTNAME= gcc-6.2.0 | |
4 | PKGNAME= cross-h8300-elf-${DISTNAME} | 4 | PKGNAME= cross-h8300-elf-${DISTNAME} | |
5 | PKGREVISION= 2 | 5 | PKGREVISION= 2 | |
6 | CATEGORIES= cross | 6 | CATEGORIES= cross | |
7 | MASTER_SITES= ${MASTER_SITE_GNU:=gcc/gcc-${PKGVERSION_NOREV}/} | 7 | MASTER_SITES= ${MASTER_SITE_GNU:=gcc/gcc-${PKGVERSION_NOREV}/} | |
8 | EXTRACT_SUFX= .tar.bz2 | 8 | EXTRACT_SUFX= .tar.bz2 | |
9 | DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ | 9 | DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ | |
10 | newlib-${NEWLIBVER}.tar.gz | 10 | newlib-${NEWLIBVER}.tar.gz | |
11 | 11 | |||
12 | MAINTAINER= pkgsrc-users@NetBSD.org | 12 | MAINTAINER= pkgsrc-users@NetBSD.org | |
13 | HOMEPAGE= #empty | 13 | HOMEPAGE= #empty | |
14 | COMMENT= GCC compiler for h8300-elf | 14 | COMMENT= GCC compiler for h8300-elf | |
15 | 15 | |||
16 | NEWLIBVER= 2.4.0 | 16 | NEWLIBVER= 2.4.0 | |
17 | SITES.newlib-${NEWLIBVER}.tar.gz= ftp://sources.redhat.com/pub/newlib/ | 17 | SITES.newlib-${NEWLIBVER}.tar.gz= https://www.sourceware.org/pub/newlib/ | |
18 | 18 | |||
19 | DEPENDS+= cross-h8300-elf-binutils-[0-9]*:../../cross/h8300-elf-binutils | 19 | DEPENDS+= cross-h8300-elf-binutils-[0-9]*:../../cross/h8300-elf-binutils | |
20 | 20 | |||
21 | .include "../../mk/bsd.prefs.mk" | 21 | .include "../../mk/bsd.prefs.mk" | |
22 | # To avoid an internal compiler error of a library for h8300h | 22 | # To avoid an internal compiler error of a library for h8300h | |
23 | # on NetBSD/amd64 7.99.39 (GCC 5.4) | 23 | # on NetBSD/amd64 7.99.39 (GCC 5.4) | |
24 | .if ${OPSYS} == "NetBSD" | 24 | .if ${OPSYS} == "NetBSD" | |
25 | GCC_REQD+= 6.2 | 25 | GCC_REQD+= 6.2 | |
26 | .endif | 26 | .endif | |
27 | 27 | |||
28 | USE_LANGUAGES= c c++03 | 28 | USE_LANGUAGES= c c++03 | |
29 | 29 | |||
30 | H8300_PREFIX= ${PREFIX}/cross-h8300-elf | 30 | H8300_PREFIX= ${PREFIX}/cross-h8300-elf | |
31 | OBJDIR= ../build | 31 | OBJDIR= ../build | |
32 | CONFIGURE_DIRS= ${OBJDIR} | 32 | CONFIGURE_DIRS= ${OBJDIR} | |
33 | CONFIGURE_SCRIPT= ${WRKSRC}/configure | 33 | CONFIGURE_SCRIPT= ${WRKSRC}/configure | |
34 | 34 | |||
35 | USE_TOOLS+= gmake makeinfo | 35 | USE_TOOLS+= gmake makeinfo | |
36 | GNU_CONFIGURE= yes | 36 | GNU_CONFIGURE= yes | |
37 | 37 | |||
38 | GNU_CONFIGURE_PREFIX= ${H8300_PREFIX} | 38 | GNU_CONFIGURE_PREFIX= ${H8300_PREFIX} | |
39 | 39 | |||
40 | CONFIGURE_ARGS+= --disable-nls | 40 | CONFIGURE_ARGS+= --disable-nls | |
41 | CONFIGURE_ARGS+= --target=h8300-elf | 41 | CONFIGURE_ARGS+= --target=h8300-elf | |
42 | CONFIGURE_ARGS+= --enable-languages=c | 42 | CONFIGURE_ARGS+= --enable-languages=c | |
43 | CONFIGURE_ARGS+= --with-newlib | 43 | CONFIGURE_ARGS+= --with-newlib | |
44 | CONFIGURE_ARGS+= --disable-libstdcxx-pch | 44 | CONFIGURE_ARGS+= --disable-libstdcxx-pch | |
45 | CONFIGURE_ARGS+= --with-gmp=${BUILDLINK_PREFIX.gmp} | 45 | CONFIGURE_ARGS+= --with-gmp=${BUILDLINK_PREFIX.gmp} | |
46 | CONFIGURE_ARGS+= --with-mpc=${BUILDLINK_PREFIX.mpcomplex} | 46 | CONFIGURE_ARGS+= --with-mpc=${BUILDLINK_PREFIX.mpcomplex} | |
47 | CONFIGURE_ARGS+= --with-mpfr=${BUILDLINK_PREFIX.mpfr} | 47 | CONFIGURE_ARGS+= --with-mpfr=${BUILDLINK_PREFIX.mpfr} | |
48 | MAKE_ENV+= SHELL=${CONFIG_SHELL} | 48 | MAKE_ENV+= SHELL=${CONFIG_SHELL} | |
49 | INFO_FILES= yes | 49 | INFO_FILES= yes | |
50 | 50 | |||
51 | post-extract: | 51 | post-extract: | |
52 | ${LN} -s ${WRKDIR}/newlib-${NEWLIBVER}/newlib ${WRKSRC}/newlib | 52 | ${LN} -s ${WRKDIR}/newlib-${NEWLIBVER}/newlib ${WRKSRC}/newlib | |
53 | 53 | |||
54 | pre-configure: | 54 | pre-configure: | |
55 | ${MKDIR} ${WRKSRC}/${OBJDIR} | 55 | ${MKDIR} ${WRKSRC}/${OBJDIR} | |
56 | ${CP} ${PKGSRCDIR}/mk/gnu-config/config.guess ${WRKSRC} | 56 | ${CP} ${PKGSRCDIR}/mk/gnu-config/config.guess ${WRKSRC} | |
57 | ${CP} ${PKGSRCDIR}/mk/gnu-config/config.sub ${WRKSRC} | 57 | ${CP} ${PKGSRCDIR}/mk/gnu-config/config.sub ${WRKSRC} | |
58 | 58 | |||
59 | .include "../../devel/gmp/buildlink3.mk" | 59 | .include "../../devel/gmp/buildlink3.mk" | |
60 | .include "../../math/mpcomplex/buildlink3.mk" | 60 | .include "../../math/mpcomplex/buildlink3.mk" | |
61 | .include "../../math/mpfr/buildlink3.mk" | 61 | .include "../../math/mpfr/buildlink3.mk" | |
62 | .include "../../mk/bsd.pkg.mk" | 62 | .include "../../mk/bsd.pkg.mk" |
@@ -1,55 +1,55 @@ | @@ -1,55 +1,55 @@ | |||
1 | # $NetBSD: Makefile,v 1.29 2014/12/19 08:49:37 obache Exp $ | 1 | # $NetBSD: Makefile,v 1.30 2019/03/22 13:16:33 tnn Exp $ | |
2 | 2 | |||
3 | DISTNAME= gcc-core-3.1 | 3 | DISTNAME= gcc-core-3.1 | |
4 | PKGNAME= cross-h8300-hms-gcc-3.1 | 4 | PKGNAME= cross-h8300-hms-gcc-3.1 | |
5 | PKGREVISION= 6 | 5 | PKGREVISION= 6 | |
6 | CATEGORIES= cross | 6 | CATEGORIES= cross | |
7 | MASTER_SITES= ${MASTER_SITE_GNU:=gcc/gcc-3.1/} | 7 | MASTER_SITES= ${MASTER_SITE_GNU:=gcc/gcc-3.1/} | |
8 | DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ | 8 | DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ | |
9 | ${DISTNAME:S/-core-/-g++-/}${EXTRACT_SUFX} \ | 9 | ${DISTNAME:S/-core-/-g++-/}${EXTRACT_SUFX} \ | |
10 | newlib-1.10.0.tar.gz | 10 | newlib-1.10.0.tar.gz | |
11 | 11 | |||
12 | SITES.newlib-1.10.0.tar.gz= ftp://sources.redhat.com/pub/newlib/ | 12 | SITES.newlib-1.10.0.tar.gz= https://www.sourceware.org/pub/newlib/ | |
13 | PATCH_SITES= ${MASTER_SITE_SOURCEFORGE:=h8300-hms/} | 13 | PATCH_SITES= ${MASTER_SITE_SOURCEFORGE:=h8300-hms/} | |
14 | PATCHFILES= h8300-hms-gcc-3.1-1.patch | 14 | PATCHFILES= h8300-hms-gcc-3.1-1.patch | |
15 | PATCH_DIST_ARGS= -d ${SRCDIR} -E -p1 | 15 | PATCH_DIST_ARGS= -d ${SRCDIR} -E -p1 | |
16 | 16 | |||
17 | MAINTAINER= pkgsrc-users@NetBSD.org | 17 | MAINTAINER= pkgsrc-users@NetBSD.org | |
18 | HOMEPAGE= #empty | 18 | HOMEPAGE= #empty | |
19 | COMMENT= GCC compiler for h8300-hms | 19 | COMMENT= GCC compiler for h8300-hms | |
20 | 20 | |||
21 | DEPENDS+= cross-h8300-hms-binutils-[0-9]*:../../cross/h8300-hms-binutils | 21 | DEPENDS+= cross-h8300-hms-binutils-[0-9]*:../../cross/h8300-hms-binutils | |
22 | 22 | |||
23 | H8300_PREFIX= ${LOCALBASE}/libexec/cross-h8300-hms | 23 | H8300_PREFIX= ${LOCALBASE}/libexec/cross-h8300-hms | |
24 | 24 | |||
25 | WRKSRC= ${WRKDIR}/objdir | 25 | WRKSRC= ${WRKDIR}/objdir | |
26 | USE_TOOLS+= gmake | 26 | USE_TOOLS+= gmake | |
27 | HAS_CONFIGURE= yes | 27 | HAS_CONFIGURE= yes | |
28 | CONFIGURE_ARGS+= --prefix=${H8300_PREFIX:Q} | 28 | CONFIGURE_ARGS+= --prefix=${H8300_PREFIX:Q} | |
29 | CONFIGURE_ARGS+= --infodir=${H8300_PREFIX}/gcc | 29 | CONFIGURE_ARGS+= --infodir=${H8300_PREFIX}/gcc | |
30 | CONFIGURE_ARGS+= --target=h8300-hms | 30 | CONFIGURE_ARGS+= --target=h8300-hms | |
31 | CONFIGURE_ARGS+= --enable-languages=c,c++ | 31 | CONFIGURE_ARGS+= --enable-languages=c,c++ | |
32 | CONFIGURE_ARGS+= --with-newlib | 32 | CONFIGURE_ARGS+= --with-newlib | |
33 | CONFIGURE_SCRIPT= ${SRCDIR}/configure | 33 | CONFIGURE_SCRIPT= ${SRCDIR}/configure | |
34 | SRCDIR= ${WRKDIR}/gcc-3.1 | 34 | SRCDIR= ${WRKDIR}/gcc-3.1 | |
35 | MAKE_ENV+= SHELL=${CONFIG_SHELL} | 35 | MAKE_ENV+= SHELL=${CONFIG_SHELL} | |
36 | BUILD_TARGET= CFLAGS="-O2 -fomit-frame-pointer" all | 36 | BUILD_TARGET= CFLAGS="-O2 -fomit-frame-pointer" all | |
37 | INSTALLATION_DIRS+= bin libexec/cross-h8300-hms/h8300-hms/bin | 37 | INSTALLATION_DIRS+= bin libexec/cross-h8300-hms/h8300-hms/bin | |
38 | INFO_FILES= yes | 38 | INFO_FILES= yes | |
39 | 39 | |||
40 | GCC_REQD+= 2.8.0 | 40 | GCC_REQD+= 2.8.0 | |
41 | 41 | |||
42 | post-extract: | 42 | post-extract: | |
43 | ${LN} -s ${WRKDIR}/newlib-1.10.0/newlib ${SRCDIR}/newlib | 43 | ${LN} -s ${WRKDIR}/newlib-1.10.0/newlib ${SRCDIR}/newlib | |
44 | ${MKDIR} ${WRKSRC} | 44 | ${MKDIR} ${WRKSRC} | |
45 | 45 | |||
46 | post-install: | 46 | post-install: | |
47 | for f in h8300-hms-cpp h8300-hms-gcc \ | 47 | for f in h8300-hms-cpp h8300-hms-gcc \ | |
48 | h8300-hms-c++ h8300-hms-g++ \ | 48 | h8300-hms-c++ h8300-hms-g++ \ | |
49 | h8300-hms-gccbug h8300-hms-gcov \ | 49 | h8300-hms-gccbug h8300-hms-gcov \ | |
50 | ; do \ | 50 | ; do \ | |
51 | ${LN} -s ../libexec/cross-h8300-hms/bin/"$$f" \ | 51 | ${LN} -s ../libexec/cross-h8300-hms/bin/"$$f" \ | |
52 | ${DESTDIR}${PREFIX}/bin/"$$f" || exit 1; \ | 52 | ${DESTDIR}${PREFIX}/bin/"$$f" || exit 1; \ | |
53 | done | 53 | done | |
54 | 54 | |||
55 | .include "../../mk/bsd.pkg.mk" | 55 | .include "../../mk/bsd.pkg.mk" |