aboutsummaryrefslogtreecommitdiff
path: root/devel/cross-gdb
diff options
context:
space:
mode:
authorStanislav Sedov <stas@FreeBSD.org>2009-12-16 02:22:02 +0000
committerStanislav Sedov <stas@FreeBSD.org>2009-12-16 02:22:02 +0000
commitfef5bb93813110d60556ff072360d8c55bdd81f6 (patch)
treece3ffef6057b05d2165560e39f6967d2b1d74f78 /devel/cross-gdb
parent8e2259683d84c889e94035ff55679faf0418f9da (diff)
downloadports-fef5bb93813110d60556ff072360d8c55bdd81f6.tar.gz
ports-fef5bb93813110d60556ff072360d8c55bdd81f6.zip
Notes
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