C/C++, CHILL, F77, JAVA, OBJC, binutils, and gdb from the RTEMS RTOS for
the i386, i960, m68k, mips64orion, powerpc, sh, and sparc processors.
PR: 19335
Submitted by: James Housley <jim@thehouselys.net>
2000-07-10 06:32:35 +02:00
|
|
|
# New ports collection makefile for: i386-rtems-objc
|
|
|
|
# Date created: 9 June 2000
|
|
|
|
# Whom: James Housley <jim@thehousleys.net>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= objc
|
2003-11-02 13:04:09 +01:00
|
|
|
PORTVERSION= 3.2.3
|
2004-12-19 20:43:21 +01:00
|
|
|
PORTREVISION= 5
|
C/C++, CHILL, F77, JAVA, OBJC, binutils, and gdb from the RTEMS RTOS for
the i386, i960, m68k, mips64orion, powerpc, sh, and sparc processors.
PR: 19335
Submitted by: James Housley <jim@thehouselys.net>
2000-07-10 06:32:35 +02:00
|
|
|
CATEGORIES= devel
|
2002-07-10 14:33:03 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEWARE} \
|
2003-11-02 13:04:09 +01:00
|
|
|
${MASTER_SITE_GNU:S/$/:gcc/}
|
2002-07-10 14:33:03 +02:00
|
|
|
MASTER_SITE_SUBDIR= newlib \
|
2003-11-09 04:38:51 +01:00
|
|
|
gcc/${GCCNAME}/:gcc
|
2002-07-10 14:33:03 +02:00
|
|
|
DISTFILES= ${NEWLIBNAME}.tar.gz \
|
|
|
|
${OBJCNAME}.tar.gz:gcc
|
2003-11-02 13:04:09 +01:00
|
|
|
PATCHFILES= ${OBJCNAME}-rtems-20030507a.diff \
|
|
|
|
${NEWLIBNAME}-rtems-20030605.diff
|
2003-09-02 02:25:30 +02:00
|
|
|
PATCH_SITES= ftp://ftp.rtems.com/pub/rtems/snapshots/c_tools/source/ \
|
2000-09-18 20:48:53 +02:00
|
|
|
http://rtems.thehousleys.net/
|
C/C++, CHILL, F77, JAVA, OBJC, binutils, and gdb from the RTEMS RTOS for
the i386, i960, m68k, mips64orion, powerpc, sh, and sparc processors.
PR: 19335
Submitted by: James Housley <jim@thehouselys.net>
2000-07-10 06:32:35 +02:00
|
|
|
|
2000-10-02 05:10:28 +02:00
|
|
|
MAINTAINER= jeh@FreeBSD.org
|
2003-03-03 05:00:46 +01:00
|
|
|
COMMENT= FSF OBJC-gcc-3.2.1 base-port for RTEMS development
|
C/C++, CHILL, F77, JAVA, OBJC, binutils, and gdb from the RTEMS RTOS for
the i386, i960, m68k, mips64orion, powerpc, sh, and sparc processors.
PR: 19335
Submitted by: James Housley <jim@thehouselys.net>
2000-07-10 06:32:35 +02:00
|
|
|
|
2003-11-02 13:04:09 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
C/C++, CHILL, F77, JAVA, OBJC, binutils, and gdb from the RTEMS RTOS for
the i386, i960, m68k, mips64orion, powerpc, sh, and sparc processors.
PR: 19335
Submitted by: James Housley <jim@thehouselys.net>
2000-07-10 06:32:35 +02:00
|
|
|
LCLTARGET?= i386-rtems
|
|
|
|
|
2003-11-02 13:04:09 +01:00
|
|
|
GCCVERSION= 3.2.3
|
|
|
|
OBJCNAME= gcc-${GCCVERSION}
|
|
|
|
PLIST_SUB+= "GCCVERSION=${GCCVERSION}"
|
2003-02-12 14:44:24 +01:00
|
|
|
NEWLIBNAME= newlib-1.11.0
|
2000-10-08 02:29:08 +02:00
|
|
|
PLIST= ${PKGDIR}/pkg-plist.${LCLTARGET}
|
C/C++, CHILL, F77, JAVA, OBJC, binutils, and gdb from the RTEMS RTOS for
the i386, i960, m68k, mips64orion, powerpc, sh, and sparc processors.
PR: 19335
Submitted by: James Housley <jim@thehouselys.net>
2000-07-10 06:32:35 +02:00
|
|
|
|
2004-06-04 19:29:38 +02:00
|
|
|
BUILD_DEPENDS= ${LCLTARGET}-gcc:${PORTSDIR}/devel/${LCLTARGET}-gcc
|
C/C++, CHILL, F77, JAVA, OBJC, binutils, and gdb from the RTEMS RTOS for
the i386, i960, m68k, mips64orion, powerpc, sh, and sparc processors.
PR: 19335
Submitted by: James Housley <jim@thehouselys.net>
2000-07-10 06:32:35 +02:00
|
|
|
RUN_DEPENDS= ${LCLTARGET}-gcc:${PORTSDIR}/devel/${LCLTARGET}-gcc
|
|
|
|
|
|
|
|
PKGNAMEPREFIX= ${LCLTARGET}-
|
2004-06-04 19:29:38 +02:00
|
|
|
WANT_AUTOHEADER_VER=253
|
C/C++, CHILL, F77, JAVA, OBJC, binutils, and gdb from the RTEMS RTOS for
the i386, i960, m68k, mips64orion, powerpc, sh, and sparc processors.
PR: 19335
Submitted by: James Housley <jim@thehouselys.net>
2000-07-10 06:32:35 +02:00
|
|
|
USE_GMAKE= yes
|
2000-08-11 16:38:10 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2003-11-02 13:04:09 +01:00
|
|
|
ALL_TARGET= all info
|
C/C++, CHILL, F77, JAVA, OBJC, binutils, and gdb from the RTEMS RTOS for
the i386, i960, m68k, mips64orion, powerpc, sh, and sparc processors.
PR: 19335
Submitted by: James Housley <jim@thehouselys.net>
2000-07-10 06:32:35 +02:00
|
|
|
|
|
|
|
CONFIGURE_TARGET?= --target=${LCLTARGET}
|
|
|
|
CONFIGURE_ARGS?= --with-gnu-as --with-gnu-ld --with-newlib --verbose \
|
2003-11-02 13:04:09 +01:00
|
|
|
--enable-languages="objc" \
|
|
|
|
--with-libiconv-prefix=${LOCALBASE} \
|
|
|
|
--without-included-gettext
|
C/C++, CHILL, F77, JAVA, OBJC, binutils, and gdb from the RTEMS RTOS for
the i386, i960, m68k, mips64orion, powerpc, sh, and sparc processors.
PR: 19335
Submitted by: James Housley <jim@thehouselys.net>
2000-07-10 06:32:35 +02:00
|
|
|
CONFIGURE_WRKSRC?= ${WRKDIR}/build-${LCLTARGET}
|
|
|
|
CONFIGURE_SCRIPT?= ../${OBJCNAME}/configure
|
|
|
|
|
2000-10-18 23:46:52 +02:00
|
|
|
PATCH_WRKSRC= ${WRKDIR}
|
|
|
|
PATCH_STRIP= -p
|
C/C++, CHILL, F77, JAVA, OBJC, binutils, and gdb from the RTEMS RTOS for
the i386, i960, m68k, mips64orion, powerpc, sh, and sparc processors.
PR: 19335
Submitted by: James Housley <jim@thehouselys.net>
2000-07-10 06:32:35 +02:00
|
|
|
|
2004-02-04 22:38:34 +01:00
|
|
|
WITHOUT_CPU_CFLAGS= yes
|
2004-01-22 13:12:48 +01:00
|
|
|
MAKE_FLAGS= LANGUAGES="objc"
|
2005-04-12 05:26:56 +02:00
|
|
|
MAKE_ENV= MACHINE_ARCH=${RTEMS_ARCH} NO_CPU_CFLAGS=true
|
C/C++, CHILL, F77, JAVA, OBJC, binutils, and gdb from the RTEMS RTOS for
the i386, i960, m68k, mips64orion, powerpc, sh, and sparc processors.
PR: 19335
Submitted by: James Housley <jim@thehouselys.net>
2000-07-10 06:32:35 +02:00
|
|
|
|
|
|
|
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})
|
|
|
|
|
2003-11-02 13:04:09 +01:00
|
|
|
.include <bsd.port.post.mk>
|