mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-04 06:15:24 +00:00
Disable building the simulator on sparc until I can figure out how to
make it compile again, > 5.2 only. Bump PORTREVISION
This commit is contained in:
parent
fb777a7a11
commit
eecdd0fef1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=101584
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= gdb
|
||||
PORTVERSION= 5.2
|
||||
PORTREVISION= 3
|
||||
PORTREVISION= 4
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= ${MASTER_SITE_GNU}
|
||||
MASTER_SITE_SUBDIR= gdb
|
||||
@ -21,6 +21,8 @@ PATCHFILES= ${GDBNAME}-rtems-base-20020612.diff \
|
||||
PATCH_SITES= ftp://ftp.rtems.com/pub/rtems/snapshots/c_tools/source/ \
|
||||
http://rtems.thehousleys.net/
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
LCLTARGET?= i386-rtems
|
||||
|
||||
GDBNAME= gdb-5.2
|
||||
@ -51,6 +53,17 @@ PATCHFILES+= powerpc-gdb-5.2-hw_sem.c.diff:THN \
|
||||
PATCH_SITES+= http://rtems.thehousleys.net/:THN
|
||||
.endif
|
||||
|
||||
.if ${LCLTARGET} == sparc-rtems
|
||||
.if (${OSVERSION} >= 502000)
|
||||
CONFIGURE_ARGS+= --verbose --disable-sim
|
||||
PLIST_SUB+= SPARC_NOSIM='@comment '
|
||||
.else
|
||||
CONFIGURE_ARGS+= --verbose --enable-sim
|
||||
PLIST_SUB+= SPARC_NOSIM=''
|
||||
MAN1= ${LCLTARGET}-run.1
|
||||
.endif
|
||||
.endif
|
||||
|
||||
MAN1+= ${LCLTARGET}-gdb.1
|
||||
|
||||
pre-configure:
|
||||
@ -64,4 +77,4 @@ do-install:
|
||||
@(cd ${WRKDIR}/build-${LCLTARGET} && \
|
||||
${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET})
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -1,4 +1,4 @@
|
||||
bin/sparc-rtems-gdb
|
||||
bin/sparc-rtems-run
|
||||
bin/sparc-rtems-sis
|
||||
lib/libsparc-rtems-sim.a
|
||||
%%SPARC_NOSIM%%bin/sparc-rtems-run
|
||||
%%SPARC_NOSIM%%bin/sparc-rtems-sis
|
||||
%%SPARC_NOSIM%%lib/libsparc-rtems-sim.a
|
||||
|
@ -10,8 +10,5 @@ PORTNAME= gdb
|
||||
MAINTAINER= jeh@FreeBSD.org
|
||||
|
||||
LCLTARGET= sparc-rtems
|
||||
CONFIGURE_ARGS+= --verbose --enable-sim
|
||||
|
||||
MAN1= ${LCLTARGET}-run.1
|
||||
|
||||
.include "${.CURDIR}/../i386-rtems-gdb/Makefile"
|
||||
|
Loading…
Reference in New Issue
Block a user