diff options
Diffstat (limited to 'devel/i386-rtems-gdb/Makefile')
-rw-r--r-- | devel/i386-rtems-gdb/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/devel/i386-rtems-gdb/Makefile b/devel/i386-rtems-gdb/Makefile index 585ecfcfeb50..ea2060387d5d 100644 --- a/devel/i386-rtems-gdb/Makefile +++ b/devel/i386-rtems-gdb/Makefile @@ -7,7 +7,7 @@ PORTNAME= gdb PORTVERSION= 5.2 -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_GNU} MASTER_SITE_SUBDIR= gdb @@ -44,6 +44,13 @@ CONFIGURE_SCRIPT?= ../${GDBNAME}/configure PATCH_DIST_STRIP?= -p1 +# Need to patch a patch file +.if ${LCLTARGET} == powerpc-rtems +PATCHFILES+= powerpc-gdb-5.2-hw_sem.c.diff:THN \ + powerpc-gdb-5.2-hw_shm.c.diff:THN +PATCH_SITES+= http://rtems.thehousleys.net/:THN +.endif + MAN1+= ${LCLTARGET}-gdb.1 pre-configure: |