aboutsummaryrefslogtreecommitdiff
path: root/devel/msp430-gdb
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2010-11-24 14:35:22 +0000
committerPav Lucistnik <pav@FreeBSD.org>2010-11-24 14:35:22 +0000
commit0f589fe676f32c48df75d2e20a1eeaa0da3a9b4d (patch)
tree9d53d1cf26c85521a0d3c1ba2d7b5ad5402a5ffc /devel/msp430-gdb
parenta4d16b29b4ccb063276cc362a83f448196ceea92 (diff)
downloadports-0f589fe676f32c48df75d2e20a1eeaa0da3a9b4d.tar.gz
ports-0f589fe676f32c48df75d2e20a1eeaa0da3a9b4d.zip
Notes
Diffstat (limited to 'devel/msp430-gdb')
-rw-r--r--devel/msp430-gdb/Makefile34
-rw-r--r--devel/msp430-gdb/distinfo10
2 files changed, 17 insertions, 27 deletions
diff --git a/devel/msp430-gdb/Makefile b/devel/msp430-gdb/Makefile
index ac5bf5c7efb0..7e7a8055d32e 100644
--- a/devel/msp430-gdb/Makefile
+++ b/devel/msp430-gdb/Makefile
@@ -4,31 +4,29 @@
#
# $FreeBSD$
#
+
PORTNAME= gdb
PORTVERSION= ${GDBVERSION}.${PATCHVERSION}
-PORTREVISION= 1
CATEGORIES= devel
-MASTER_SITES= ${MASTER_SITE_SOURCEWARE} \
- http://lev.serebryakov.spb.ru/download/msp430/:patches
-MASTER_SITE_SUBDIR= ${PORTNAME}/old-releases
+MASTER_SITES= ${MASTER_SITE_GNU} \
+ ${MASTER_SITE_SOURCEFORGE:S/%SUBDIR%/mspgcc4\/mspgcc4/}:patches
+MASTER_SITE_SUBDIR= ${PORTNAME}
PKGNAMEPREFIX= msp430-
DISTFILES= ${PORTNAME}-${GDBVERSION}${EXTRACT_SUFX} \
- ${PKGNAMEPREFIX}${PORTNAME}-${GDBVERSION}.${PATCHVERSION}${EXTRACT_SUFX}:patches
+ mspgcc4-${PATCHVERSION}${EXTRACT_SUFX}:patches
MAINTAINER= lev@FreeBSD.org
-COMMENT= FSF gdb-5.1.1 for TI's msp430 MCUs cross-development
-
-BROKEN= does not support recent versions of FreeBSD
+COMMENT= FSF GDB for TI's msp430 MCUs cross-development
-GDBVERSION= 5.1.1
-PATCHVERSION= 20030909
+GDBVERSION= 7.1
+PATCHVERSION= 20101006
WRKSRC= ${WRKDIR}/${PORTNAME}-${GDBVERSION}
USE_BZIP2= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --target=${PKGNAMEPREFIX:S/-$//}
+CONFIGURE_ARGS= --target=${PKGNAMEPREFIX:S/-$//} --disable-werror --disable-nls
MAKE_ENV= PATH=${PREFIX}/bin:${PATH}
MAN1= ${PKGNAMEPREFIX}gdb.1 ${PKGNAMEPREFIX}run.1
@@ -40,17 +38,11 @@ MANPAGES= gdb.1:gdb run.1:sim/common
.include <bsd.port.pre.mk>
-.if ${OSVERSION} >= 700042
-BROKEN= Does not compile with GCC 4.2
-.endif
-
-.if ${ARCH} == "amd64" || ${ARCH} == "ia64"
-BROKEN= Configure fails on amd64 and ia64
-.endif
+pre-patch:
+ @${CP} -r ${WRKSRC}/../mspgcc4-${PATCHVERSION}/ports/gdb-6-and-7/* ${WRKSRC}
-.if ${ARCH} == "sparc64"
-BROKEN= Fails to link
-.endif
+post-patch:
+ @cd ${WRKSRC} && ${PATCH} ${PATCH_ARGS} -p1 <${WRKSRC}/../mspgcc4-${PATCHVERSION}/gdb-7.1.patch
do-install:
@${MKDIR} ${PREFIX}/${PKGNAMEPREFIX:S/-$//}/bin
diff --git a/devel/msp430-gdb/distinfo b/devel/msp430-gdb/distinfo
index 1fcf4fb666b6..1c2d23765d65 100644
--- a/devel/msp430-gdb/distinfo
+++ b/devel/msp430-gdb/distinfo
@@ -1,6 +1,4 @@
-MD5 (gdb-5.1.1.tar.bz2) = ad07a75320fd04fa4f80ac0f38cbd2eb
-SHA256 (gdb-5.1.1.tar.bz2) = ef36d3913f6d14d4adfd07bf8c7ceed05182227f3c7c1663a6fff1e089d34845
-SIZE (gdb-5.1.1.tar.bz2) = 10698836
-MD5 (msp430-gdb-5.1.1.20030909.tar.bz2) = a93e0c5fb79b3bbdd59164e54eefbec2
-SHA256 (msp430-gdb-5.1.1.20030909.tar.bz2) = 4561288c0ed109f6b17bb458185667a06efd05970a584899ab0a4fe055acc562
-SIZE (msp430-gdb-5.1.1.20030909.tar.bz2) = 265438
+SHA256 (gdb-7.1.tar.bz2) = 142c27d7970a4e652dc225d61d887777ae00cf22fdd75cd1e8e4e13bfbd85352
+SIZE (gdb-7.1.tar.bz2) = 17977195
+SHA256 (mspgcc4-20101006.tar.bz2) = 6745a30ba0ead6b7783a3352eb925eafe4795dc61a2186c6987afcdab634cb08
+SIZE (mspgcc4-20101006.tar.bz2) = 296576