aboutsummaryrefslogtreecommitdiffstats
path: root/devel/gdb6/Makefile
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2004-05-13 12:28:38 +0800
committerobrien <obrien@FreeBSD.org>2004-05-13 12:28:38 +0800
commit010ed4b30ecfc4f61afb7216f26db86d9bf50d80 (patch)
treecb2fd4f2d7e1c9495fd632954a05e4eefe743c33 /devel/gdb6/Makefile
parent0c0a70e5d3555b6d92fe4447a17b04a2703da485 (diff)
downloadfreebsd-ports-gnome-010ed4b30ecfc4f61afb7216f26db86d9bf50d80.tar.gz
freebsd-ports-gnome-010ed4b30ecfc4f61afb7216f26db86d9bf50d80.tar.zst
freebsd-ports-gnome-010ed4b30ecfc4f61afb7216f26db86d9bf50d80.zip
Update to the 2004-05-11 snapshot.
Also enable kgdb and thread support! This is missing IA64 support, and the AMD64 kgdb support is hokey and needs a few more bits filled in.
Diffstat (limited to 'devel/gdb6/Makefile')
-rw-r--r--devel/gdb6/Makefile20
1 files changed, 12 insertions, 8 deletions
diff --git a/devel/gdb6/Makefile b/devel/gdb6/Makefile
index 660de0342409..35c4d09cba36 100644
--- a/devel/gdb6/Makefile
+++ b/devel/gdb6/Makefile
@@ -6,7 +6,7 @@
# $FreeBSD$
#
-SNAPDATE= 2004-05-04
+SNAPDATE= 2004-05-11
SNAPVER= ${SNAPDATE:S/-//g}
PORTNAME= gdb
@@ -17,17 +17,20 @@ MASTER_SITES= ${MASTER_SITE_SOURCEWARE}
MASTER_SITE_SUBDIR= gdb/snapshots/current
DISTNAME= gdb+dejagnu-weekly-${SNAPVER}
+PATCH_SITES= ${MASTER_SITE_LOCAL}
+PATCH_SITE_SUBDIR= obrien
+#PATCHFILES= gdb60_xfree-loadmod.diff
+
MAINTAINER= obrien@FreeBSD.org
COMMENT= GNU GDB 6
-LATEST_LINK= gdb6
WRKSRC= ${WRKDIR}/${DISTNAME:S/-weekly//}
USE_BZIP2= yes
USE_GMAKE= yes
USE_REINPLACE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --program-suffix=6
-CFLAGS+= -DRL_NO_COMPAT
+CFLAGS+= -DRL_NO_COMPAT -DKGDB
.include <bsd.port.pre.mk>
@@ -47,22 +50,23 @@ PLIST_SUB+= NO_NATIVE_GDB="@comment "
.endif
post-patch:
- @${REINPLACE_CMD} -e 's/$$/ [FreeBSD]/' ${WRKSRC}/gdb/version.in
+ @${REINPLACE_CMD} -e 's/$$/ [GDB v6.x for FreeBSD]/' \
+ ${WRKSRC}/gdb/version.in
@${REINPLACE_CMD} -e 's/^READLINE/#READLINE/' \
-e 's/^readline/#readline/' \
${WRKSRC}/gdb/Makefile.in
${ECHO} 'READLINE = -lreadline' >> ${WRKSRC}/gdb/Makefile.in
-do-patch: post-patch
- @${ECHO} 'FreeBSD-specific patches disabled for now, until upgraded.'
-
pre-configure:
cd ${WRKSRC} ; ${RM} -rf dejagnu expect readline sim tcl texinfo
+.for f in freebsd-uthread.c kvm-fbsd.c
+ ${LN} -sf ${FILESDIR}/${f} ${WRKSRC}/gdb
+.endfor
+ ${LN} -sf ${FILESDIR}/nm-fbsd.h ${WRKSRC}/gdb/config
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/gdb/gdb \
${PREFIX}/bin/${PORTNAME}${PORTVERSION:S/.//g}
-
cklatest:
ncftpls \
ftp://sources.redhat.com/pub/${MASTER_SITE_SUBDIR}/ \