aboutsummaryrefslogtreecommitdiffstats
path: root/devel/cross-gdb
diff options
context:
space:
mode:
authorstas <stas@FreeBSD.org>2009-12-16 10:22:02 +0800
committerstas <stas@FreeBSD.org>2009-12-16 10:22:02 +0800
commitc1cd77fc6e1664d1eaf0553a87c7201e2122de1e (patch)
tree42306e69e24787669f9514c3b71511f237538155 /devel/cross-gdb
parente07c94e6210b9e9df8aca0fcc9b4a6c8b7c54efe (diff)
downloadfreebsd-ports-gnome-c1cd77fc6e1664d1eaf0553a87c7201e2122de1e.tar.gz
freebsd-ports-gnome-c1cd77fc6e1664d1eaf0553a87c7201e2122de1e.tar.zst
freebsd-ports-gnome-c1cd77fc6e1664d1eaf0553a87c7201e2122de1e.zip
- Update to 7.0.
Diffstat (limited to 'devel/cross-gdb')
-rw-r--r--devel/cross-gdb/Makefile15
-rw-r--r--devel/cross-gdb/distinfo12
2 files changed, 17 insertions, 10 deletions
diff --git a/devel/cross-gdb/Makefile b/devel/cross-gdb/Makefile
index 7671db6ced4a..d0a16933000b 100644
--- a/devel/cross-gdb/Makefile
+++ b/devel/cross-gdb/Makefile
@@ -6,13 +6,13 @@
#
PORTNAME= gdb
-PORTVERSION= 6.8
+PORTVERSION= 7.0
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEWARE}
MASTER_SITE_SUBDIR= gdb/releases
PKGNAMEPREFIX= ${TGTARCH}-${TGTABI}-
-PATCH_SITES= ftp://ftp.Springdaemons.com/soft/
+PATCH_SITES= ftp://ftp.rtems.org/pub/rtems/SOURCES/4.10/
PATCH_DIST_STRIP= -p1
MAINTAINER= stas@FreeBSD.org
@@ -32,12 +32,15 @@ USE_BZIP2= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
ALL_TARGET= all info
+DATADIR= ${PREFIX}/share/${PKGNAMEPREFIX}{PORTNAME}
DEPENDS_ARGS= TGTARCH="${TGTARCH}" TGTABI="${TGTABI}"
CONFIGURE_ARGS+= --disable-nls \
--exec-prefix=${EPRFX}/ \
- --target=${OURTARGET}
+ --target=${OURTARGET} \
+ --with-python=no \
+ --datadir="${DATADIR}"
OURTARGET= ${TGTARCH}-${TGTABI}
@@ -52,7 +55,7 @@ INFO= ${OURTARGET}-annotate \
EPRFX= ${PREFIX}/libexec/${OURTARGET}-gdb
.if defined(WITH_RTEMS_PATCHES)
-PATCHFILES+= ${PORTNAME}-${PORTVERSION}-rtems4.9-20080917.diff
+PATCHFILES+= ${PORTNAME}-${PORTVERSION}-rtems4.10-20091007.diff
.endif
.if !defined(TGTARCH) || !defined(TGTABI)
@@ -119,5 +122,9 @@ post-install:
@${FIND} -ds ${EPRFX}/ -type d | \
${SED} -E -e 's,(.*),@unexec rmdir \1 2>/dev/null || true,' >> \
${TMPPLIST}
+ @${FIND} ${DATADIR}/ ! -type d | ${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
+ @${FIND} -ds ${DATADIR}/ -type d | \
+ ${SED} -E -e 's,(.*),@unexec rmdir \1 2>/dev/null || true,' >> \
+ ${TMPPLIST}
.include <bsd.port.mk>
diff --git a/devel/cross-gdb/distinfo b/devel/cross-gdb/distinfo
index 853f7fee7207..ead41e5f929c 100644
--- a/devel/cross-gdb/distinfo
+++ b/devel/cross-gdb/distinfo
@@ -1,6 +1,6 @@
-MD5 (gdb-6.8.tar.bz2) = c9da266b884fb8fa54df786dfaadbc7a
-SHA256 (gdb-6.8.tar.bz2) = eedffd586bf41cf2ae2f77e6819545d6eb1e5062052320a27332fdfaaebdf818
-SIZE (gdb-6.8.tar.bz2) = 15581509
-MD5 (gdb-6.8-rtems4.9-20080917.diff) = b31b6570ff31da4d2a798daa0efe3bca
-SHA256 (gdb-6.8-rtems4.9-20080917.diff) = 3493756ff8bf49157067139bf5256ef5e1270b1ff74bdec3dc4cd1c36d5c9dc3
-SIZE (gdb-6.8-rtems4.9-20080917.diff) = 36726
+MD5 (gdb-7.0.tar.bz2) = 3386a7b69c010785c920ffc1e9cb890a
+SHA256 (gdb-7.0.tar.bz2) = c750c695c8029da60688fc6584207fd1ea741a6b9e79e4ad03715bfbc2113ecd
+SIZE (gdb-7.0.tar.bz2) = 17604459
+MD5 (gdb-7.0-rtems4.10-20091007.diff) = dcf9ed74bcb946e53592e2859bfe687d
+SHA256 (gdb-7.0-rtems4.10-20091007.diff) = 633e716857816b36cf4b5748c05998f05b7cc82b775e3159703c0cd659e755e4
+SIZE (gdb-7.0-rtems4.10-20091007.diff) = 21448