diff --git a/devel/arm-rtems-binutils/Makefile b/devel/arm-rtems-binutils/Makefile index 665703ebfddc..c86e3b723a90 100644 --- a/devel/arm-rtems-binutils/Makefile +++ b/devel/arm-rtems-binutils/Makefile @@ -1,13 +1,15 @@ # New ports collection makefile for: arm-rtems-binutils # Date created: 12 April 2001 # Whom: James Housley # # $FreeBSD$ # PORTNAME= binutils MAINTAINER= jeh@FreeBSD.org LCLTARGET= arm-rtems -.include "${.CURDIR}/../i386-rtems-binutils/Makefile" + +MASTERDIR= ${.CURDIR}/../i386-rtems-binutils +.include "${MASTERDIR}/Makefile" diff --git a/devel/arm-rtems-g77/Makefile b/devel/arm-rtems-g77/Makefile index 4c3699361f1e..ef55edbdf5aa 100644 --- a/devel/arm-rtems-g77/Makefile +++ b/devel/arm-rtems-g77/Makefile @@ -1,13 +1,15 @@ # New ports collection makefile for: arm-rtems-g77 # Date created: 12 April 2001 # Whom: James Housley # # $FreeBSD$ # PORTNAME= g77 MAINTAINER= jeh@FreeBSD.org LCLTARGET= arm-rtems + .include "${.CURDIR}/../i386-rtems-g77/Makefile" +MASTERDIR= ${MASTERDIR}/i386-rtems-g77 diff --git a/devel/arm-rtems-gcc/Makefile b/devel/arm-rtems-gcc/Makefile index 5f5b747bfd2d..91ba262921ee 100644 --- a/devel/arm-rtems-gcc/Makefile +++ b/devel/arm-rtems-gcc/Makefile @@ -1,14 +1,15 @@ # New ports collection makefile for: arm-rtems-gcc # Date created: 12 April 2001 # Whom: James Housley # # $FreeBSD$ # PORTNAME= gcc MAINTAINER= jeh@FreeBSD.org RTEMS_ARCH= arm -.include "${.CURDIR}/../i386-rtems-gcc/Makefile" +MASTERDIR= ${.CURDIR}/../i386-rtems-gcc +.include "${MASTERDIR}/Makefile" diff --git a/devel/arm-rtems-objc/Makefile b/devel/arm-rtems-objc/Makefile index fb65c52d0792..719bd6b11013 100644 --- a/devel/arm-rtems-objc/Makefile +++ b/devel/arm-rtems-objc/Makefile @@ -1,13 +1,15 @@ # New ports collection makefile for: arm-rtems-objc # Date created: 12 April 2001 # Whom: James Housley # # $FreeBSD$ # PORTNAME= objc MAINTAINER= jeh@FreeBSD.org LCLTARGET= arm-rtems -.include "${.CURDIR}/../i386-rtems-objc/Makefile" + +MASTERDIR= ${.CURDIR}/../i386-rtems-objc +.include "${MASTERDIR}/Makefile" diff --git a/devel/i386-rtems-binutils/Makefile b/devel/i386-rtems-binutils/Makefile index 0fb5a93ad80b..f96fc326f259 100644 --- a/devel/i386-rtems-binutils/Makefile +++ b/devel/i386-rtems-binutils/Makefile @@ -1,89 +1,88 @@ # New ports collection makefile for: i386-rtems-binutils # Date created: 9 June 2000 # Whom: James Housley # # $FreeBSD$ # PORTNAME= binutils PORTVERSION= 2.13.2.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_SOURCEWARE} MASTER_SITE_SUBDIR= binutils/releases #PATCHFILES= ${BINNAME}-rtems-20010622.diff #PATCH_SITES= ftp://ftp.rtems.com/pub/rtems/snapshots/c_tools/source/ \ # http://rtems.thehousleys.net/ MAINTAINER= jeh@FreeBSD.org COMMENT= FSF binutils-2.13.2.1 base-port for RTEMS development LCLTARGET?= i386-rtems BINNAME= binutils-2.13.2.1 -MASTERDIR= ${.CURDIR}/../i386-rtems-binutils PLIST= ${PKGDIR}/pkg-plist.${LCLTARGET} PKGNAMEPREFIX= ${LCLTARGET}- USE_BZIP2= yes USE_GMAKE= yes GNU_CONFIGURE= yes ALL_TARGET= all info NO_CPUCFLAGS= yes USE_REINPLACE= yes CONFIGURE_TARGET?= --target=${LCLTARGET} CONFIGURE_ARGS?= --verbose CONFIGURE_WRKSRC?= ${WRKDIR}/build-${LCLTARGET} CONFIGURE_SCRIPT?= ../${BINNAME}/configure PATCH_DIST_STRIP?= -p1 MAN1= ${LCLTARGET}-ar.1 ${LCLTARGET}-nm.1 ${LCLTARGET}-objdump.1 \ ${LCLTARGET}-ranlib.1 ${LCLTARGET}-size.1 \ ${LCLTARGET}-strings.1 ${LCLTARGET}-strip.1 \ ${LCLTARGET}-objcopy.1 ${LCLTARGET}-addr2line.1 \ ${LCLTARGET}-nlmconv.1 ${LCLTARGET}-as.1 ${LCLTARGET}-ld.1 \ ${LCLTARGET}-dlltool.1 ${LCLTARGET}-readelf.1 \ ${LCLTARGET}-windres.1 ${LCLTARGET}-c++filt.1 INFO= ${LCLTARGET}-as ${LCLTARGET}-bfd ${LCLTARGET}-binutils \ ${LCLTARGET}-ld post-patch: @${REINPLACE_CMD} -e 's|setfilename as.info|setfilename ${LCLTARGET}-as.info|' ${WRKSRC}/gas/doc/as.texinfo - @${REINPLACE_CMD} -e 's|(as)|(${LCLTARGET}-as)|' ${WRKSRC}/gas/doc/as.texinfo + @${REINPLACE_CMD} -e 's|(as)|(${LCLTARGET}-as)|' ${WRKSRC}/gas/doc/as.texinfo @${REINPLACE_CMD} -e 's|@file{as}|@file{${LCLTARGET}-as}|' ${WRKSRC}/gas/doc/as.texinfo @${REINPLACE_CMD} -e 's|as.info|${LCLTARGET}-as.info|' ${WRKSRC}/gas/doc/Makefile.in @${REINPLACE_CMD} -e 's|as.texinfo|${LCLTARGET}-as.texinfo|' ${WRKSRC}/gas/doc/Makefile.in @${MV} ${WRKSRC}/gas/doc/as.texinfo ${WRKSRC}/gas/doc/${LCLTARGET}-as.texinfo @${REINPLACE_CMD} -e 's|setfilename bfd.info|setfilename ${LCLTARGET}-bfd.info|' ${WRKSRC}/bfd/doc/bfd.texinfo - @${REINPLACE_CMD} -e 's|(bfd)|(${LCLTARGET}-bfd)|' ${WRKSRC}/bfd/doc/bfd.texinfo + @${REINPLACE_CMD} -e 's|(bfd)|(${LCLTARGET}-bfd)|' ${WRKSRC}/bfd/doc/bfd.texinfo @${REINPLACE_CMD} -e 's|@file{bfd}|@file{${LCLTARGET}-bfd}|' ${WRKSRC}/bfd/doc/bfd.texinfo @${REINPLACE_CMD} -e 's|bfd.info|${LCLTARGET}-bfd.info|' ${WRKSRC}/bfd/doc/Makefile.in @${REINPLACE_CMD} -e 's|bfd.texinfo|${LCLTARGET}-bfd.texinfo|' ${WRKSRC}/bfd/doc/Makefile.in @${MV} ${WRKSRC}/bfd/doc/bfd.texinfo ${WRKSRC}/bfd/doc/${LCLTARGET}-bfd.texinfo @${REINPLACE_CMD} -e 's|setfilename binutils.info|setfilename ${LCLTARGET}-binutils.info|' ${WRKSRC}/binutils/doc/binutils.texi - @${REINPLACE_CMD} -e 's|(binutils)|(${LCLTARGET}-binutils)|' ${WRKSRC}/binutils/doc/binutils.texi + @${REINPLACE_CMD} -e 's|(binutils)|(${LCLTARGET}-binutils)|' ${WRKSRC}/binutils/doc/binutils.texi @${REINPLACE_CMD} -e 's|@file{binutils}|@file{${LCLTARGET}-binutils}|' ${WRKSRC}/binutils/doc/binutils.texi @${REINPLACE_CMD} -e 's|binutils.info|${LCLTARGET}-binutils.info|' ${WRKSRC}/binutils/doc/Makefile.in @${REINPLACE_CMD} -e 's|binutils.texi|${LCLTARGET}-binutils.texi|' ${WRKSRC}/binutils/doc/Makefile.in @${MV} ${WRKSRC}/binutils/doc/binutils.texi ${WRKSRC}/binutils/doc/${LCLTARGET}-binutils.texi @${REINPLACE_CMD} -e 's|setfilename ld.info|setfilename ${LCLTARGET}-ld.info|' ${WRKSRC}/ld/ld.texinfo - @${REINPLACE_CMD} -e 's|(ld)|(${LCLTARGET}-ld)|' ${WRKSRC}/ld/ld.texinfo + @${REINPLACE_CMD} -e 's|(ld)|(${LCLTARGET}-ld)|' ${WRKSRC}/ld/ld.texinfo @${REINPLACE_CMD} -e 's|@file{ld}|@file{${LCLTARGET}-ld}|' ${WRKSRC}/ld/ld.texinfo @${REINPLACE_CMD} -e 's|ld.info|${LCLTARGET}-ld.info|' ${WRKSRC}/ld/Makefile.in @${REINPLACE_CMD} -e 's|ld.texinfo|${LCLTARGET}-ld.texinfo|' ${WRKSRC}/ld/Makefile.in @${MV} ${WRKSRC}/ld/ld.texinfo ${WRKSRC}/ld/${LCLTARGET}-ld.texinfo pre-configure: @(cd ${WRKDIR} ; ${MKDIR} build-${LCLTARGET}) do-build: @(cd ${WRKDIR}/build-${LCLTARGET} ; \ ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${ALL_TARGET}) do-install: @(cd ${WRKDIR}/build-${LCLTARGET} && \ ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET}) .include diff --git a/devel/i386-rtems-g77/Makefile b/devel/i386-rtems-g77/Makefile index f56f062d2953..4d90e3da3f3b 100644 --- a/devel/i386-rtems-g77/Makefile +++ b/devel/i386-rtems-g77/Makefile @@ -1,78 +1,77 @@ # New ports collection makefile for: i386-rtems-g77 # Date created: 9 June 2000 # Whom: James Housley # # $FreeBSD$ # PORTNAME= g77 PORTVERSION= 3.2.3 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_SOURCEWARE} \ ${MASTER_SITE_GNU:S/$/:gcc/} MASTER_SITE_SUBDIR= newlib \ gcc/${GCCNAME}/:gcc DISTFILES= ${NEWLIBNAME}.tar.gz \ ${G77NAME}.tar.gz:gcc PATCHFILES= ${G77NAME}-rtems-20030507a.diff \ ${NEWLIBNAME}-rtems-20030605.diff PATCH_SITES= ftp://ftp.rtems.com/pub/rtems/snapshots/c_tools/source/ \ http://rtems.thehousleys.net/ MAINTAINER= jeh@FreeBSD.org COMMENT= FSF F77-gcc-3.2.3 base-port for RTEMS development .include .if ${OSVERSION} >= 500113 BROKEN= "Does not build" .endif LCLTARGET?= i386-rtems GCCVERSION= 3.2.3 G77NAME= gcc-${GCCVERSION} PLIST_SUB+= "GCCVERSION=${GCCVERSION}" NEWLIBNAME= newlib-1.11.0 -MASTERDIR= ${.CURDIR}/../i386-rtems-g77 PLIST= ${PKGDIR}/pkg-plist.${LCLTARGET} BUILD_DEPENDS= autoheader:${PORTSDIR}/devel/autoconf \ ${LCLTARGET}-gcc:${PORTSDIR}/devel/${LCLTARGET}-gcc RUN_DEPENDS= ${LCLTARGET}-gcc:${PORTSDIR}/devel/${LCLTARGET}-gcc PKGNAMEPREFIX= ${LCLTARGET}- USE_GMAKE= yes GNU_CONFIGURE= yes ALL_TARGET= all info NO_CPUCFLAGS= yes CONFIGURE_TARGET?= --target=${LCLTARGET} CONFIGURE_ARGS?= --with-gnu-as --with-gnu-ld --with-newlib --verbose \ --enable-languages="f77" \ --with-libiconv-prefix=${LOCALBASE} \ --without-included-gettext CONFIGURE_WRKSRC?= ${WRKDIR}/build-${LCLTARGET} CONFIGURE_SCRIPT?= ../${G77NAME}/configure PATCH_WRKSRC= ${WRKDIR} PATCH_STRIP= -p MAKE_FLAGS= LANGUAGES="f77" pre-configure: @(cd ${WRKDIR} ; \ cd ${G77NAME} ; ${LN} -fs ../${NEWLIBNAME}/newlib . ; \ cd .. ; \ ${MKDIR} build-${LCLTARGET}) do-build: @(cd ${WRKDIR}/build-${LCLTARGET} ; \ ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${ALL_TARGET}) do-install: @(cd ${WRKDIR}/build-${LCLTARGET} && \ ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET}) .include diff --git a/devel/i386-rtems-gcc/Makefile b/devel/i386-rtems-gcc/Makefile index 7e54ac516811..cc85b9c5398a 100644 --- a/devel/i386-rtems-gcc/Makefile +++ b/devel/i386-rtems-gcc/Makefile @@ -1,125 +1,124 @@ # New ports collection makefile for: i386-rtems-gcc # Date created: 9 June 2000 # Whom: James Housley # # $FreeBSD$ # PORTNAME= gcc PORTVERSION= 3.2.3 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_SOURCEWARE} \ ${MASTER_SITE_GNU:S/$/:gcc/} MASTER_SITE_SUBDIR= newlib \ ${PORTNAME}/${GCCNAME}/:gcc DISTFILES= ${NEWLIBNAME}.tar.gz \ ${GCCNAME}.tar.gz:gcc PATCHFILES= ${GCCNAME}-rtems-20030507a.diff \ ${NEWLIBNAME}-rtems-20030605.diff PATCH_SITES= ftp://ftp.rtems.com/pub/rtems/snapshots/c_tools/source/ \ http://rtems.thehousleys.net/ MAINTAINER= jeh@FreeBSD.org COMMENT= FSF C/C++-gcc-3.2.3 base-port for RTEMS development .include .if ${OSVERSION} >= 500113 BROKEN= "Does not build" .endif RTEMS_ARCH?= i386 LCLTARGET= ${RTEMS_ARCH}-rtems GCCVERSION= 3.2.3 GCCNAME= gcc-${GCCVERSION} PLIST_SUB+= "GCCVERSION=${GCCVERSION}" NEWLIBNAME= newlib-1.11.0 -MASTERDIR= ${.CURDIR}/../i386-rtems-gcc PLIST= ${PKGDIR}/pkg-plist.${LCLTARGET} BUILD_DEPENDS= autoheader:${PORTSDIR}/devel/autoconf \ ${LCLTARGET}-as:${PORTSDIR}/devel/${LCLTARGET}-binutils \ ${LCLTARGET}-ld:${PORTSDIR}/devel/${LCLTARGET}-binutils RUN_DEPENDS= ${LCLTARGET}-as:${PORTSDIR}/devel/${LCLTARGET}-binutils \ ${LCLTARGET}-ld:${PORTSDIR}/devel/${LCLTARGET}-binutils LIB_DEPENDS= intl.5:${PORTSDIR}/devel/gettext PKGNAMEPREFIX= ${LCLTARGET}- USE_GMAKE= yes GNU_CONFIGURE= yes USE_REINPLACE= yes ALL_TARGET= all info NO_CPUCFLAGS= yes CONFIGURE_TARGET?= --target=${LCLTARGET} CONFIGURE_ARGS?= --with-gnu-as --with-gnu-ld --with-newlib --verbose \ --enable-languages=c,c++ \ --with-libiconv-prefix=${LOCALBASE} \ --without-included-gettext CONFIGURE_WRKSRC?= ${WRKDIR}/build-${LCLTARGET} CONFIGURE_SCRIPT?= ../${GCCNAME}/configure PATCH_WRKSRC= ${WRKDIR} PATCH_STRIP= -p MAKE_FLAGS= LANGUAGES="c c++" MAKE_ENV= MACHINE_ARCH=${RTEMS_ARCH} MAN1= ${LCLTARGET}-gcc.1 ${LCLTARGET}-g++.1 \ - cpp.1 gcov.1 + cpp.1 gcov.1 MAN7= fsf-funding.7 gfdl.7 gpl.7 INFO= ${LCLTARGET}-cpp ${LCLTARGET}-cppinternals \ ${LCLTARGET}-gcc ${LCLTARGET}-gccint #INFO= cpp cppinternals gcc gccint pre-configure: @(cd ${WRKDIR} ; \ cd ${GCCNAME} ; ${LN} -fs ../${NEWLIBNAME}/newlib . ; \ cd .. ; \ ${MKDIR} build-${LCLTARGET}) @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ ${WRKSRC}/gcc/configure post-patch: # Change cpp.info to ${LCLTARGET}-cpp.info @${REINPLACE_CMD} -e 's|setfilename cpp.info|setfilename ${LCLTARGET}-cpp.info|g' ${WRKSRC}/gcc/doc/*.texi - @${REINPLACE_CMD} -e 's|(cpp)|(${LCLTARGET}-cpp)|g' ${WRKSRC}/gcc/doc/*.texi + @${REINPLACE_CMD} -e 's|(cpp)|(${LCLTARGET}-cpp)|g' ${WRKSRC}/gcc/doc/*.texi @${REINPLACE_CMD} -e 's|@file{cpp}|@file{${LCLTARGET}-cpp}|g' ${WRKSRC}/gcc/doc/*.texi @${REINPLACE_CMD} -e 's|cpp.info|${LCLTARGET}-cpp.info|g' ${WRKSRC}/gcc/Makefile.in @${REINPLACE_CMD} -e 's|cpp.texi|${LCLTARGET}-cpp.texi|g' ${WRKSRC}/gcc/Makefile.in @${MV} ${WRKSRC}/gcc/doc/cpp.texi ${WRKSRC}/gcc/doc/${LCLTARGET}-cpp.texi # special case for included file @${REINPLACE_CMD} -e 's|,cpp.info,|,${LCLTARGET}-cpp.info,|g' ${WRKSRC}/gcc/doc/extend.texi # Change cpp.info to ${LCLTARGET}-cpp.info @${REINPLACE_CMD} -e 's|setfilename cppinternals.info|setfilename ${LCLTARGET}-cppinternals.info|g' ${WRKSRC}/gcc/doc/*.texi - @${REINPLACE_CMD} -e 's|(cppinternals)|(${LCLTARGET}-cppinternals)|g' ${WRKSRC}/gcc/doc/*.texi + @${REINPLACE_CMD} -e 's|(cppinternals)|(${LCLTARGET}-cppinternals)|g' ${WRKSRC}/gcc/doc/*.texi @${REINPLACE_CMD} -e 's|@file{cppinternals}|@file{${LCLTARGET}-cppinternals}|g' ${WRKSRC}/gcc/doc/*.texi @${REINPLACE_CMD} -e 's|cppinternals.info|${LCLTARGET}-cppinternals.info|g' ${WRKSRC}/gcc/Makefile.in @${REINPLACE_CMD} -e 's|cppinternals.texi|${LCLTARGET}-cppinternals.texi|g' ${WRKSRC}/gcc/Makefile.in @${MV} ${WRKSRC}/gcc/doc/cppinternals.texi ${WRKSRC}/gcc/doc/${LCLTARGET}-cppinternals.texi # Change cpp.info to ${LCLTARGET}-cpp.info @${REINPLACE_CMD} -e 's|setfilename gcc.info|setfilename ${LCLTARGET}-gcc.info|g' ${WRKSRC}/gcc/doc/*.texi - @${REINPLACE_CMD} -e 's|(gcc)|(${LCLTARGET}-gcc)|g' ${WRKSRC}/gcc/doc/*.texi + @${REINPLACE_CMD} -e 's|(gcc)|(${LCLTARGET}-gcc)|g' ${WRKSRC}/gcc/doc/*.texi @${REINPLACE_CMD} -e 's|@file{gcc}|@file{${LCLTARGET}-gcc}|g' ${WRKSRC}/gcc/doc/*.texi @${REINPLACE_CMD} -e 's|gcc.info|${LCLTARGET}-gcc.info|g' ${WRKSRC}/gcc/Makefile.in @${REINPLACE_CMD} -e 's|gcc.texi|${LCLTARGET}-gcc.texi|g' ${WRKSRC}/gcc/Makefile.in @${MV} ${WRKSRC}/gcc/doc/gcc.texi ${WRKSRC}/gcc/doc/${LCLTARGET}-gcc.texi # Change cpp.info to ${LCLTARGET}-cpp.info @${REINPLACE_CMD} -e 's|setfilename gccint.info|setfilename ${LCLTARGET}-gccint.info|g' ${WRKSRC}/gcc/doc/*.texi - @${REINPLACE_CMD} -e 's|(gccint)|(${LCLTARGET}-gccint)|g' ${WRKSRC}/gcc/doc/*.texi + @${REINPLACE_CMD} -e 's|(gccint)|(${LCLTARGET}-gccint)|g' ${WRKSRC}/gcc/doc/*.texi @${REINPLACE_CMD} -e 's|@file{gccint}|@file{${LCLTARGET}-gccint}|g' ${WRKSRC}/gcc/doc/*.texi @${REINPLACE_CMD} -e 's|gccint.info|${LCLTARGET}-gccint.info|g' ${WRKSRC}/gcc/Makefile.in @${REINPLACE_CMD} -e 's|gccint.texi|${LCLTARGET}-gccint.texi|g' ${WRKSRC}/gcc/Makefile.in @${MV} ${WRKSRC}/gcc/doc/gccint.texi ${WRKSRC}/gcc/doc/${LCLTARGET}-gccint.texi do-build: @(cd ${WRKDIR}/build-${LCLTARGET} ; \ ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${ALL_TARGET}) do-install: @(cd ${WRKDIR}/build-${LCLTARGET} && \ ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET}) .include diff --git a/devel/i386-rtems-objc/Makefile b/devel/i386-rtems-objc/Makefile index 4c310e9f608d..6292f590a098 100644 --- a/devel/i386-rtems-objc/Makefile +++ b/devel/i386-rtems-objc/Makefile @@ -1,78 +1,77 @@ # New ports collection makefile for: i386-rtems-objc # Date created: 9 June 2000 # Whom: James Housley # # $FreeBSD$ # PORTNAME= objc PORTVERSION= 3.2.3 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_SOURCEWARE} \ ${MASTER_SITE_GNU:S/$/:gcc/} MASTER_SITE_SUBDIR= newlib \ gcc/${GCCNAME}/:gcc DISTFILES= ${NEWLIBNAME}.tar.gz \ ${OBJCNAME}.tar.gz:gcc PATCHFILES= ${OBJCNAME}-rtems-20030507a.diff \ ${NEWLIBNAME}-rtems-20030605.diff PATCH_SITES= ftp://ftp.rtems.com/pub/rtems/snapshots/c_tools/source/ \ http://rtems.thehousleys.net/ MAINTAINER= jeh@FreeBSD.org COMMENT= FSF OBJC-gcc-3.2.1 base-port for RTEMS development .include .if ${OSVERSION} >= 500113 BROKEN= "Does not build" .endif LCLTARGET?= i386-rtems GCCVERSION= 3.2.3 OBJCNAME= gcc-${GCCVERSION} PLIST_SUB+= "GCCVERSION=${GCCVERSION}" NEWLIBNAME= newlib-1.11.0 -MASTERDIR= ${.CURDIR}/../i386-rtems-objc PLIST= ${PKGDIR}/pkg-plist.${LCLTARGET} BUILD_DEPENDS= autoheader:${PORTSDIR}/devel/autoconf \ ${LCLTARGET}-gcc:${PORTSDIR}/devel/${LCLTARGET}-gcc RUN_DEPENDS= ${LCLTARGET}-gcc:${PORTSDIR}/devel/${LCLTARGET}-gcc PKGNAMEPREFIX= ${LCLTARGET}- USE_GMAKE= yes GNU_CONFIGURE= yes ALL_TARGET= all info NO_CPUCFLAGS= yes CONFIGURE_TARGET?= --target=${LCLTARGET} CONFIGURE_ARGS?= --with-gnu-as --with-gnu-ld --with-newlib --verbose \ --enable-languages="objc" \ --with-libiconv-prefix=${LOCALBASE} \ --without-included-gettext CONFIGURE_WRKSRC?= ${WRKDIR}/build-${LCLTARGET} CONFIGURE_SCRIPT?= ../${OBJCNAME}/configure PATCH_WRKSRC= ${WRKDIR} PATCH_STRIP= -p MAKE_FLAGS= LANGUAGES="objc" pre-configure: @(cd ${WRKDIR} ; \ cd ${OBJCNAME} ; ${LN} -fs ../${NEWLIBNAME}/newlib . ; \ cd .. ; \ ${MKDIR} build-${LCLTARGET}) do-build: @(cd ${WRKDIR}/build-${LCLTARGET} ; \ ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${ALL_TARGET}) do-install: @(cd ${WRKDIR}/build-${LCLTARGET} && \ ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET}) .include diff --git a/devel/i960-rtems-binutils/Makefile b/devel/i960-rtems-binutils/Makefile index 6ac9bdfa402b..3dcbdf54549f 100644 --- a/devel/i960-rtems-binutils/Makefile +++ b/devel/i960-rtems-binutils/Makefile @@ -1,13 +1,15 @@ # New ports collection makefile for: i960-rtems-binutils # Date created: 9 June 2000 # Whom: James Housley # # $FreeBSD$ # PORTNAME= binutils MAINTAINER= jeh@FreeBSD.org LCLTARGET= i960-rtems -.include "${.CURDIR}/../i386-rtems-binutils/Makefile" + +MASTERDIR= ${.CURDIR}/../i386-rtems-binutils +.include "${MASTERDIR}/Makefile" diff --git a/devel/i960-rtems-gcc/Makefile b/devel/i960-rtems-gcc/Makefile index 68baad12ec87..efdc200274b7 100644 --- a/devel/i960-rtems-gcc/Makefile +++ b/devel/i960-rtems-gcc/Makefile @@ -1,14 +1,15 @@ # New ports collection makefile for: i960-rtems-gcc # Date created: 9 June 2000 # Whom: James Housley # # $FreeBSD$ # PORTNAME= gcc MAINTAINER= jeh@FreeBSD.org RTEMS_ARCH= i960 -.include "${.CURDIR}/../i386-rtems-gcc/Makefile" +MASTERDIR= ${.CURDIR}/../i386-rtems-gcc +.include "${MASTERDIR}/Makefile" diff --git a/devel/m68k-rtems-binutils/Makefile b/devel/m68k-rtems-binutils/Makefile index 468f34f8648e..7c32bf51db60 100644 --- a/devel/m68k-rtems-binutils/Makefile +++ b/devel/m68k-rtems-binutils/Makefile @@ -1,13 +1,15 @@ # New ports collection makefile for: m68k-rtems-binutils # Date created: 9 June 2000 # Whom: James Housley # # $FreeBSD$ # PORTNAME= binutils MAINTAINER= jeh@FreeBSD.org LCLTARGET= m68k-rtems -.include "${.CURDIR}/../i386-rtems-binutils/Makefile" + +MASTERDIR= ${.CURDIR}/../i386-rtems-binutils +.include "${MASTERDIR}/Makefile" diff --git a/devel/m68k-rtems-g77/Makefile b/devel/m68k-rtems-g77/Makefile index 45b53954c8a8..ecab5241244f 100644 --- a/devel/m68k-rtems-g77/Makefile +++ b/devel/m68k-rtems-g77/Makefile @@ -1,13 +1,15 @@ # New ports collection makefile for: m68k-rtems-g77 # Date created: 9 June 2000 # Whom: James Housley # # $FreeBSD$ # PORTNAME= g77 MAINTAINER= jeh@FreeBSD.org LCLTARGET= m68k-rtems + .include "${.CURDIR}/../i386-rtems-g77/Makefile" +MASTERDIR= ${MASTERDIR}/i386-rtems-g77 diff --git a/devel/m68k-rtems-gcc/Makefile b/devel/m68k-rtems-gcc/Makefile index 90c4fbebedf9..3ad325125bf6 100644 --- a/devel/m68k-rtems-gcc/Makefile +++ b/devel/m68k-rtems-gcc/Makefile @@ -1,14 +1,15 @@ # New ports collection makefile for: m68k-rtems-gcc # Date created: 9 June 2000 # Whom: James Housley # # $FreeBSD$ # PORTNAME= gcc MAINTAINER= jeh@FreeBSD.org RTEMS_ARCH= m68k -.include "${.CURDIR}/../i386-rtems-gcc/Makefile" +MASTERDIR= ${.CURDIR}/../i386-rtems-gcc +.include "${MASTERDIR}/Makefile" diff --git a/devel/m68k-rtems-objc/Makefile b/devel/m68k-rtems-objc/Makefile index afdc37466619..2fb6de80a92b 100644 --- a/devel/m68k-rtems-objc/Makefile +++ b/devel/m68k-rtems-objc/Makefile @@ -1,13 +1,15 @@ # New ports collection makefile for: m68k-rtems-objc # Date created: 9 June 2000 # Whom: James Housley # # $FreeBSD$ # PORTNAME= objc MAINTAINER= jeh@FreeBSD.org LCLTARGET= m68k-rtems -.include "${.CURDIR}/../i386-rtems-objc/Makefile" + +MASTERDIR= ${.CURDIR}/../i386-rtems-objc +.include "${MASTERDIR}/Makefile" diff --git a/devel/mips-rtems-binutils/Makefile b/devel/mips-rtems-binutils/Makefile index ed5fc5bd971c..66cfb4f4295c 100644 --- a/devel/mips-rtems-binutils/Makefile +++ b/devel/mips-rtems-binutils/Makefile @@ -1,13 +1,15 @@ # New ports collection makefile for: mips-rtems-binutils # Date created: 9 June 2000 # Whom: James Housley # # $FreeBSD$ # PORTNAME= binutils MAINTAINER= jeh@FreeBSD.org LCLTARGET= mips-rtems -.include "${.CURDIR}/../i386-rtems-binutils/Makefile" + +MASTERDIR= ${.CURDIR}/../i386-rtems-binutils +.include "${MASTERDIR}/Makefile" diff --git a/devel/mips-rtems-g77/Makefile b/devel/mips-rtems-g77/Makefile index 1aa25d040dbd..e060d9734da5 100644 --- a/devel/mips-rtems-g77/Makefile +++ b/devel/mips-rtems-g77/Makefile @@ -1,13 +1,15 @@ # New ports collection makefile for: mips-rtems-g77 # Date created: 9 June 2000 # Whom: James Housley # # $FreeBSD$ # PORTNAME= g77 MAINTAINER= jeh@FreeBSD.org LCLTARGET= mips-rtems + .include "${.CURDIR}/../i386-rtems-g77/Makefile" +MASTERDIR= ${MASTERDIR}/i386-rtems-g77 diff --git a/devel/mips-rtems-gcc/Makefile b/devel/mips-rtems-gcc/Makefile index 5a4550659130..fdc1248ea3cd 100644 --- a/devel/mips-rtems-gcc/Makefile +++ b/devel/mips-rtems-gcc/Makefile @@ -1,14 +1,15 @@ # New ports collection makefile for: mips-rtems-gcc # Date created: 9 June 2000 # Whom: James Housley # # $FreeBSD$ # PORTNAME= gcc MAINTAINER= jeh@FreeBSD.org RTEMS_ARCH= mips -.include "${.CURDIR}/../i386-rtems-gcc/Makefile" +MASTERDIR= ${.CURDIR}/../i386-rtems-gcc +.include "${MASTERDIR}/Makefile" diff --git a/devel/mips-rtems-objc/Makefile b/devel/mips-rtems-objc/Makefile index f604e779cee5..b01951aaace7 100644 --- a/devel/mips-rtems-objc/Makefile +++ b/devel/mips-rtems-objc/Makefile @@ -1,13 +1,15 @@ # New ports collection makefile for: mips-rtems-objc # Date created: 9 June 2000 # Whom: James Housley # # $FreeBSD$ # PORTNAME= objc MAINTAINER= jeh@FreeBSD.org LCLTARGET= mips-rtems -.include "${.CURDIR}/../i386-rtems-objc/Makefile" + +MASTERDIR= ${.CURDIR}/../i386-rtems-objc +.include "${MASTERDIR}/Makefile" diff --git a/devel/powerpc-rtems-binutils/Makefile b/devel/powerpc-rtems-binutils/Makefile index efb76505aaed..6a713362450d 100644 --- a/devel/powerpc-rtems-binutils/Makefile +++ b/devel/powerpc-rtems-binutils/Makefile @@ -1,13 +1,15 @@ # New ports collection makefile for: powerpc-rtems-binutils # Date created: 9 June 2000 # Whom: James Housley # # $FreeBSD$ # PORTNAME= binutils MAINTAINER= jeh@FreeBSD.org LCLTARGET= powerpc-rtems -.include "${.CURDIR}/../i386-rtems-binutils/Makefile" + +MASTERDIR= ${.CURDIR}/../i386-rtems-binutils +.include "${MASTERDIR}/Makefile" diff --git a/devel/powerpc-rtems-g77/Makefile b/devel/powerpc-rtems-g77/Makefile index aadd26d13e3a..ef58e55a92be 100644 --- a/devel/powerpc-rtems-g77/Makefile +++ b/devel/powerpc-rtems-g77/Makefile @@ -1,13 +1,15 @@ # New ports collection makefile for: powerpc-rtems-g77 # Date created: 9 June 2000 # Whom: James Housley # # $FreeBSD$ # PORTNAME= g77 MAINTAINER= jeh@FreeBSD.org LCLTARGET= powerpc-rtems + .include "${.CURDIR}/../i386-rtems-g77/Makefile" +MASTERDIR= ${MASTERDIR}/i386-rtems-g77 diff --git a/devel/powerpc-rtems-gcc/Makefile b/devel/powerpc-rtems-gcc/Makefile index 702d613a89ba..36894ffbd694 100644 --- a/devel/powerpc-rtems-gcc/Makefile +++ b/devel/powerpc-rtems-gcc/Makefile @@ -1,14 +1,15 @@ # New ports collection makefile for: powerpc-rtems-gcc # Date created: 9 June 2000 # Whom: James Housley # # $FreeBSD$ # PORTNAME= gcc MAINTAINER= jeh@FreeBSD.org RTEMS_ARCH= powerpc -.include "${.CURDIR}/../i386-rtems-gcc/Makefile" +MASTERDIR= ${.CURDIR}/../i386-rtems-gcc +.include "${MASTERDIR}/Makefile" diff --git a/devel/powerpc-rtems-objc/Makefile b/devel/powerpc-rtems-objc/Makefile index 6c337ee55a2d..73658808859b 100644 --- a/devel/powerpc-rtems-objc/Makefile +++ b/devel/powerpc-rtems-objc/Makefile @@ -1,13 +1,15 @@ # New ports collection makefile for: powerpc-rtems-objc # Date created: 9 June 2000 # Whom: James Housley # # $FreeBSD$ # PORTNAME= objc MAINTAINER= jeh@FreeBSD.org LCLTARGET= powerpc-rtems -.include "${.CURDIR}/../i386-rtems-objc/Makefile" + +MASTERDIR= ${.CURDIR}/../i386-rtems-objc +.include "${MASTERDIR}/Makefile" diff --git a/devel/sh-rtems-binutils/Makefile b/devel/sh-rtems-binutils/Makefile index 5bbf265d857a..d2847ab3266b 100644 --- a/devel/sh-rtems-binutils/Makefile +++ b/devel/sh-rtems-binutils/Makefile @@ -1,13 +1,15 @@ # New ports collection makefile for: sh-rtems-binutils # Date created: 9 June 2000 # Whom: James Housley # # $FreeBSD$ # PORTNAME= binutils MAINTAINER= jeh@FreeBSD.org LCLTARGET= sh-rtems -.include "${.CURDIR}/../i386-rtems-binutils/Makefile" + +MASTERDIR= ${.CURDIR}/../i386-rtems-binutils +.include "${MASTERDIR}/Makefile" diff --git a/devel/sh-rtems-g77/Makefile b/devel/sh-rtems-g77/Makefile index 6c15b8018f56..b594683dcf36 100644 --- a/devel/sh-rtems-g77/Makefile +++ b/devel/sh-rtems-g77/Makefile @@ -1,13 +1,15 @@ # New ports collection makefile for: sh-rtems-g77 # Date created: 9 June 2000 # Whom: James Housley # # $FreeBSD$ # PORTNAME= g77 MAINTAINER= jeh@FreeBSD.org LCLTARGET= sh-rtems + .include "${.CURDIR}/../i386-rtems-g77/Makefile" +MASTERDIR= ${MASTERDIR}/i386-rtems-g77 diff --git a/devel/sh-rtems-gcc/Makefile b/devel/sh-rtems-gcc/Makefile index c8f76bde9f91..bbff1e1f018a 100644 --- a/devel/sh-rtems-gcc/Makefile +++ b/devel/sh-rtems-gcc/Makefile @@ -1,14 +1,15 @@ # New ports collection makefile for: sh-rtems-gcc # Date created: 9 June 2000 # Whom: James Housley # # $FreeBSD$ # PORTNAME= gcc MAINTAINER= jeh@FreeBSD.org RTEMS_ARCH= sh -.include "${.CURDIR}/../i386-rtems-gcc/Makefile" +MASTERDIR= ${.CURDIR}/../i386-rtems-gcc +.include "${MASTERDIR}/Makefile" diff --git a/devel/sh-rtems-objc/Makefile b/devel/sh-rtems-objc/Makefile index ce604d48ad2a..ddcc7fcf0786 100644 --- a/devel/sh-rtems-objc/Makefile +++ b/devel/sh-rtems-objc/Makefile @@ -1,13 +1,15 @@ # New ports collection makefile for: sh-rtems-objc # Date created: 9 June 2000 # Whom: James Housley # # $FreeBSD$ # PORTNAME= objc MAINTAINER= jeh@FreeBSD.org LCLTARGET= sh-rtems -.include "${.CURDIR}/../i386-rtems-objc/Makefile" + +MASTERDIR= ${.CURDIR}/../i386-rtems-objc +.include "${MASTERDIR}/Makefile" diff --git a/devel/sparc-rtems-binutils/Makefile b/devel/sparc-rtems-binutils/Makefile index 704fc3d411be..00eb715a5555 100644 --- a/devel/sparc-rtems-binutils/Makefile +++ b/devel/sparc-rtems-binutils/Makefile @@ -1,13 +1,15 @@ # New ports collection makefile for: sparc-rtems-binutils # Date created: 9 June 2000 # Whom: James Housley # # $FreeBSD$ # PORTNAME= binutils MAINTAINER= jeh@FreeBSD.org LCLTARGET= sparc-rtems -.include "${.CURDIR}/../i386-rtems-binutils/Makefile" + +MASTERDIR= ${.CURDIR}/../i386-rtems-binutils +.include "${MASTERDIR}/Makefile" diff --git a/devel/sparc-rtems-g77/Makefile b/devel/sparc-rtems-g77/Makefile index bd9769fac2a8..1a65b6fbecdb 100644 --- a/devel/sparc-rtems-g77/Makefile +++ b/devel/sparc-rtems-g77/Makefile @@ -1,13 +1,15 @@ # New ports collection makefile for: sparc-rtems-g77 # Date created: 9 June 2000 # Whom: James Housley # # $FreeBSD$ # PORTNAME= g77 MAINTAINER= jeh@FreeBSD.org LCLTARGET= sparc-rtems + .include "${.CURDIR}/../i386-rtems-g77/Makefile" +MASTERDIR= ${MASTERDIR}/i386-rtems-g77 diff --git a/devel/sparc-rtems-gcc/Makefile b/devel/sparc-rtems-gcc/Makefile index 2218587fa8c0..0ecf13c110b0 100644 --- a/devel/sparc-rtems-gcc/Makefile +++ b/devel/sparc-rtems-gcc/Makefile @@ -1,14 +1,15 @@ # New ports collection makefile for: sparc-rtems-gcc # Date created: 9 June 2000 # Whom: James Housley # # $FreeBSD$ # PORTNAME= gcc MAINTAINER= jeh@FreeBSD.org RTEMS_ARCH= sparc -.include "${.CURDIR}/../i386-rtems-gcc/Makefile" +MASTERDIR= ${.CURDIR}/../i386-rtems-gcc +.include "${MASTERDIR}/Makefile" diff --git a/devel/sparc-rtems-objc/Makefile b/devel/sparc-rtems-objc/Makefile index fd2c1cd1f4bc..2549c7b585b6 100644 --- a/devel/sparc-rtems-objc/Makefile +++ b/devel/sparc-rtems-objc/Makefile @@ -1,13 +1,15 @@ # New ports collection makefile for: sparc-rtems-objc # Date created: 9 June 2000 # Whom: James Housley # # $FreeBSD$ # PORTNAME= objc MAINTAINER= jeh@FreeBSD.org LCLTARGET= sparc-rtems -.include "${.CURDIR}/../i386-rtems-objc/Makefile" + +MASTERDIR= ${.CURDIR}/../i386-rtems-objc +.include "${MASTERDIR}/Makefile"