mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-12 03:00:28 +00:00
54 lines
1.2 KiB
Makefile
54 lines
1.2 KiB
Makefile
# ex:ts=8
|
|
# Ports collection makefile for: GDB 5.1
|
|
# Date created: 30 March 2001
|
|
# Whom: David O'Brien <obrien@NUXI.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= gdb
|
|
PORTVERSION= 5.3
|
|
PORTREVISION= 1
|
|
PORTEPOCH= 1
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEWARE:S/$/:sw/} \
|
|
${MASTER_SITE_LOCAL:S/$/:local/}
|
|
MASTER_SITE_SUBDIR= gdb/old-releases/:sw obrien/:local
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:sw,local
|
|
|
|
MAINTAINER= obrien@FreeBSD.org
|
|
COMMENT= Source level debugger - GNU GDB 5.3
|
|
|
|
LATEST_LINK= gdb53
|
|
USE_BZIP2= yes
|
|
USE_GMAKE= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --program-suffix=53
|
|
|
|
NOT_FOR_ARCHS= ia64
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OSVERSION} < 500000
|
|
BROKEN= "Does not compile on 4.x"
|
|
.endif
|
|
.if ${ARCH} == "amd64"
|
|
BROKEN= "Configure fails on amd64"
|
|
.endif
|
|
|
|
pre-configure:
|
|
cd ${WRKSRC} ; ${RM} -rf dejagnu expect sim tcl texinfo
|
|
${LN} -sf ${FILESDIR}/freebsd-uthread.c ${FILESDIR}/kvm-fbsd.c \
|
|
${WRKSRC}/gdb
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/gdb/gdb \
|
|
${PREFIX}/bin/${PORTNAME}${PORTVERSION:S/.//g}
|
|
|
|
cklatest:
|
|
ncftpls \
|
|
ftp://mirrors.rcn.net/mirrors/sources.redhat.com/${MASTER_SITE_SUBDIR}/ \
|
|
| ${GREP} gdb+dejagnu-weekly
|
|
|
|
.include <bsd.port.post.mk>
|