aboutsummaryrefslogtreecommitdiffstats
path: root/devel
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
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')
-rw-r--r--devel/i386-rtems-gdb/Makefile9
-rw-r--r--devel/i386-rtems-gdb/distinfo2
-rw-r--r--devel/powerpc-rtems-gdb/Makefile2
3 files changed, 11 insertions, 2 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:
diff --git a/devel/i386-rtems-gdb/distinfo b/devel/i386-rtems-gdb/distinfo
index 61f508de6f78..5eb48e4fc5c9 100644
--- a/devel/i386-rtems-gdb/distinfo
+++ b/devel/i386-rtems-gdb/distinfo
@@ -2,3 +2,5 @@ MD5 (gdb-5.2.tar.gz) = afb7d18f72be812ef405f6b271a36e03
MD5 (gdb-5.2-rtems-base-20020612.diff) = d328e2959b8c83add5e2a3ca60582b03
MD5 (gdb-5.2-rtems-cg-20020612.diff) = 44f82adae65e657458fde1280a6ac2c9
MD5 (gdb-5.2-rtems-rdbg-20020612.diff) = 1fffe3010d9e33186497238efa9c3060
+MD5 (powerpc-gdb-5.2-hw_sem.c.diff) = bbac701c0b2d552daec85037f799c39e
+MD5 (powerpc-gdb-5.2-hw_shm.c.diff) = 58354ff6c2600a2c7238ed17e79646f0
diff --git a/devel/powerpc-rtems-gdb/Makefile b/devel/powerpc-rtems-gdb/Makefile
index f50883f50287..ca3878c045ea 100644
--- a/devel/powerpc-rtems-gdb/Makefile
+++ b/devel/powerpc-rtems-gdb/Makefile
@@ -13,6 +13,6 @@ LCLTARGET= powerpc-rtems
CONFIGURE_ARGS= --verbose --enable-sim --enable-sim-powerpc \
--enable-sim-timebase --enable-sim-hardware
-BROKEN= "Errors on compile"
+MAN1+= ${LCLTARGET}-run.1
.include "${.CURDIR}/../i386-rtems-gdb/Makefile"