[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / cross / freemint-mintlib

Annotation of pkgsrc/cross/freemint-mintlib/Makefile, Revision 1.5

1.5     ! jperkin     1: # $NetBSD: Makefile,v 1.4 2015/01/16 23:53:04 wiedi Exp $
1.1       ryoon       2:
1.3       ryoon       3: DISTNAME=              mintlib-CVS-20131219
1.1       ryoon       4: PKGNAME=               cross-freemint-${DISTNAME:S/CVS-//}
                      5: CATEGORIES=            cross
                      6: MASTER_SITES=          ${MASTER_SITE_GNU:=gcc/gcc-4.6.4/}
                      7: GCCNAME=               gcc-4.6.4
                      8: DISTFILES=             ${DISTNAME}${EXTRACT_SUFX} \
                      9:                        ${GCCNAME}.tar.bz2
                     10: MAINTAINER=            ryoon@NetBSD.org
                     11: HOMEPAGE=              http://vincent.riviere.free.fr/soft/m68k-atari-mint/
                     12: COMMENT=               MiNTLib for FreeMiNT
                     13:
1.3       ryoon      14: SITES.mintlib-CVS-20131219.tar.gz=     http://vincent.riviere.free.fr/soft/m68k-atari-mint/archives/
1.1       ryoon      15: WRKSRC=                ${WRKDIR}
                     16:
                     17: PATCH_SITES=   http://vincent.riviere.free.fr/soft/m68k-atari-mint/archives/
                     18: PATCHFILES=    gcc-4.6.4-mint-20130415.patch.bz2
                     19:
                     20: # for http://gcc.gnu.org/bugzilla/attachment.cgi?id=15133 ,
                     21: # use makeinfo from pkgsrc/devel/gtexinfo.
                     22: TOOL_DEPENDS+=         gtexinfo>=5.1:../../devel/gtexinfo
                     23: TOOLS_PLATFORM.makeinfo=
                     24:
1.2       joerg      25: TOOL_DEPENDS+= cross-freemint-binutils-[0-9]*:../../cross/freemint-binutils
                     26:
1.1       ryoon      27: FREEMINT_PREFIX=       ${PREFIX}/cross-freemint
                     28: CONFIGURE_DIRS=                ${GCCNAME}bin
                     29: CONFIGURE_SCRIPT=      ../${GCCNAME}/configure
                     30:
1.4       wiedi      31: USE_TOOLS+=            bash:run gmake makeinfo bison flex
1.1       ryoon      32: GNU_CONFIGURE=         yes
                     33:
                     34: GNU_CONFIGURE_PREFIX=  ${FREEMINT_PREFIX}
                     35:
                     36: CFLAGS+=               -fomit-frame-pointer
                     37:
                     38: CONFIGURE_ARGS+=       --target=m68k-atari-mint
                     39: CONFIGURE_ARGS+=       --enable-languages=c,c++
                     40: CONFIGURE_ARGS+=       --disable-libstdcxx-pch
                     41: CONFIGURE_ARGS+=       --disable-nls
                     42: #CONFIGURE_ARGS+=      --disable-multilib
                     43:
                     44: MAKE_ENV+=             SHELL=${TOOLS_PATH.bash}
                     45: MAKE_ENV+=             FREEMINT_PREFIX=${FREEMINT_PREFIX}
                     46: MAKE_ENV+=             WRKSRC=${WRKSRC}
1.5     ! jperkin    47: MAKE_ENV+=             ARDIR=${FREEMINT_PREFIX}/bin
1.1       ryoon      48: MAKE_ENV+=             DESTDIR=${DESTDIR}
                     49: MAKE_ENV+=             CONFIGURE_DIRS=${CONFIGURE_DIRS}
                     50: INFO_FILES=            yes
                     51:
                     52: INSTALLATION_DIRS+=    bin
                     53:
                     54: pre-configure:
                     55:        mkdir ${WRKSRC}/${CONFIGURE_DIRS}
                     56:        ${CP} ${PKGSRCDIR}/mk/gnu-config/config.guess ${WRKSRC}/${GCCNAME}
                     57:        ${CP} ${PKGSRCDIR}/mk/gnu-config/config.sub ${WRKSRC}/${GCCNAME}
                     58:
                     59: do-build:
                     60:        cd ${WRKSRC}/${CONFIGURE_DIRS} && env ${MAKE_ENV} ${MAKE_PROGRAM} \
                     61:                ${BUILD_MAKE_FLAGS} -f ${MAKE_FILE} all-gcc
                     62:        cd ${WRKSRC}/${CONFIGURE_DIRS} && env ${MAKE_ENV} ${MAKE_PROGRAM} \
                     63:                ${BUILD_MAKE_FLAGS} -f ${MAKE_FILE} all-target-libgcc
1.3       ryoon      64:        cd ${WRKSRC}/mintlib-CVS-20131219 && \
1.1       ryoon      65:                echo "${WRKSRC}/${CONFIGURE_DIRS}/gcc/include -I${WRKSRC}/${CONFIGURE_DIRS}/gcc/include-fixed" > includepath
1.3       ryoon      66:        cd ${WRKSRC}/mintlib-CVS-20131219 && env ${MAKE_ENV} \
1.1       ryoon      67:                ${MAKE_PROGRAM} ${BUILD_MAKE_FLAGS} -f ${MAKE_FILE}
                     68:
                     69: do-install:
1.3       ryoon      70:        cd ${WRKSRC}/mintlib-CVS-20131219 && env ${MAKE_ENV} \
1.1       ryoon      71:                ${MAKE_PROGRAM} ${BUILD_MAKE_FLAGS} -f ${MAKE_FILE} install
                     72:
                     73: .include "../../cross/freemint-mintbin/buildlink3.mk"
                     74: .include "../../devel/gmp/buildlink3.mk"
                     75: .include "../../math/mpfr/buildlink3.mk"
                     76: .include "../../math/mpcomplex/buildlink3.mk"
                     77: .include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>