aboutsummaryrefslogtreecommitdiffstats
path: root/devel/i386-rtems-gdb/Makefile
diff options
context:
space:
mode:
authorjeh <jeh@FreeBSD.org>2003-02-23 10:39:08 +0800
committerjeh <jeh@FreeBSD.org>2003-02-23 10:39:08 +0800
commit7feca83e36ae64528541f598f0eab081e2696ede (patch)
tree9392d8e653ab15d6fc681ddd31f568e2cd71c0ce /devel/i386-rtems-gdb/Makefile
parent4a7701c3a3c0b5f8fa0e6c707b8fe97bee7d75ca (diff)
downloadfreebsd-ports-gnome-7feca83e36ae64528541f598f0eab081e2696ede.tar.gz
freebsd-ports-gnome-7feca83e36ae64528541f598f0eab081e2696ede.tar.zst
freebsd-ports-gnome-7feca83e36ae64528541f598f0eab081e2696ede.zip
Add some patches to the distro patches so the powerpc's GDB will build.
Bump PORTREVISION
Diffstat (limited to 'devel/i386-rtems-gdb/Makefile')
-rw-r--r--devel/i386-rtems-gdb/Makefile9
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: