aboutsummaryrefslogtreecommitdiff
path: root/devel/i386-rtems-objc/Makefile
diff options
context:
space:
mode:
authorStanislav Sedov <stas@FreeBSD.org>2007-06-24 08:16:19 +0000
committerStanislav Sedov <stas@FreeBSD.org>2007-06-24 08:16:19 +0000
commitb4327412d2e40a4609090323c697012b02f82c3a (patch)
tree9ccde624c7bd1d5c9c6e9f6a263ac7a88b29cc57 /devel/i386-rtems-objc/Makefile
parentfc741d6e90c7b12216aa27ef82ea4d3a5f64b66f (diff)
downloadports-b4327412d2e40a4609090323c697012b02f82c3a.tar.gz
ports-b4327412d2e40a4609090323c697012b02f82c3a.zip
- Update the rtems ports collection. Now these ports will be slaves of
more generic cross-* ports, that will simplify updating and bug fixes. * Update binutils to 2.17 * Update gcc to 4.2.0 * Update gdb to 6.6 - Deprecate ports for i960 architecture abandoned by mainstream - Deprecate *-g77 and *-objc ports, support for these languages can be enabled via OPTIONS in relative *-gcc ports. - Take maintainership. Approved by: ade (maintainer)
Notes
Notes: svn path=/head/; revision=194159
Diffstat (limited to 'devel/i386-rtems-objc/Makefile')
-rw-r--r--devel/i386-rtems-objc/Makefile74
1 files changed, 8 insertions, 66 deletions
diff --git a/devel/i386-rtems-objc/Makefile b/devel/i386-rtems-objc/Makefile
index 335d13df27f8..90943dee39ab 100644
--- a/devel/i386-rtems-objc/Makefile
+++ b/devel/i386-rtems-objc/Makefile
@@ -6,73 +6,15 @@
#
PORTNAME= objc
-PORTVERSION= 3.2.3
-PORTREVISION= 5
-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= ade@FreeBSD.org
-COMMENT= FSF OBJC-gcc-3.2.1 base-port for RTEMS development
+MAINTAINER= stas@FreeBSD.org
-.include <bsd.port.pre.mk>
+TGTARCH= i386
+TGTABI= rtems
-.if ${OSVERSION} >= 700000
-BROKEN= "Configure fails on FreeBSD 7.0"
-.endif
+IGNORE= deprecated; use i386-rtems-gcc instead
+DEPRECIATED= ${IGNORE}
+EXPIRE_DATE= 2007-06-22
-LCLTARGET?= i386-rtems
-
-GCCVERSION= 3.2.3
-OBJCNAME= gcc-${GCCVERSION}
-PLIST_SUB+= "GCCVERSION=${GCCVERSION}"
-NEWLIBNAME= newlib-1.11.0
-PLIST= ${PKGDIR}/pkg-plist.${LCLTARGET}
-
-BUILD_DEPENDS= ${LCLTARGET}-gcc:${PORTSDIR}/devel/${LCLTARGET}-gcc
-RUN_DEPENDS= ${LCLTARGET}-gcc:${PORTSDIR}/devel/${LCLTARGET}-gcc
-
-PKGNAMEPREFIX= ${LCLTARGET}-
-WANT_AUTOHEADER_VER=253
-USE_GMAKE= yes
-GNU_CONFIGURE= yes
-ALL_TARGET= all info
-
-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
-
-WITHOUT_CPU_CFLAGS= yes
-MAKE_FLAGS= LANGUAGES="objc"
-MAKE_ENV= MACHINE_ARCH=${RTEMS_ARCH} NO_CPU_CFLAGS=true
-
-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 <bsd.port.post.mk>
+MASTERDIR= ${.CURDIR}/../cross-gcc
+.include "${MASTERDIR}/Makefile"