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 04:32:35 +00:00
|
|
|
# New ports collection makefile for: i386-rtems-gdb
|
|
|
|
# Date created: 9 June 2000
|
|
|
|
# Whom: James Housley <jim@thehousleys.net>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= gdb
|
2000-09-18 15:20:54 +00:00
|
|
|
PORTVERSION= 5.0
|
|
|
|
PORTREVISION= 2
|
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 04:32:35 +00:00
|
|
|
CATEGORIES= devel
|
2000-09-26 14:46:24 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNU}
|
|
|
|
MASTER_SITE_SUBDIR= gdb
|
2000-09-18 15:20:54 +00:00
|
|
|
PATCHFILES= ${GDBNAME}-rtems-20000718.diff.gz
|
|
|
|
PATCH_SITES= ftp://ftp.oarcorp.com/pub/rtems/snapshots/c_tools/source/ \
|
|
|
|
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 04:32:35 +00:00
|
|
|
|
|
|
|
MAINTAINER= jim@thehousleys.net
|
|
|
|
|
|
|
|
DIST_SUBDIR= rtems
|
|
|
|
|
|
|
|
LCLTARGET?= i386-rtems
|
|
|
|
|
2000-09-18 15:20:54 +00:00
|
|
|
GDBNAME= gdb-5.0
|
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 04:32:35 +00:00
|
|
|
MASTERDIR= ${.CURDIR}/../i386-rtems-gdb
|
|
|
|
PLIST= ${PKGDIR}/PLIST.${LCLTARGET}
|
|
|
|
|
|
|
|
BUILD_DEPENDS= ${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
|
|
|
|
|
|
|
|
PKGNAMEPREFIX= ${LCLTARGET}-
|
|
|
|
USE_GMAKE= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
ALL_TARGET= all info
|
|
|
|
|
|
|
|
CONFIGURE_TARGET?= --target=${LCLTARGET}
|
|
|
|
CONFIGURE_ARGS?= --verbose
|
|
|
|
CONFIGURE_WRKSRC?= ${WRKDIR}/build-${LCLTARGET}
|
|
|
|
CONFIGURE_SCRIPT?= ../${GDBNAME}/configure
|
|
|
|
|
|
|
|
MAN1= ${LCLTARGET}-gdb.1
|
|
|
|
|
|
|
|
.if defined(PATCH_DEBUG)
|
|
|
|
PATCH_DIST_ARGS= -d ${WRKDIR} -E ${PATCH_DIST_STRIP}
|
|
|
|
.else
|
|
|
|
PATCH_DIST_ARGS= -d ${WRKDIR} --forward --quiet -E ${PATCH_DIST_STRIP}
|
|
|
|
.endif
|
|
|
|
|
|
|
|
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 <bsd.port.mk>
|