# ex:ts=8 # Ports collection makefile for: GDB 6 # Date created: 30 March 2001 # Whom: David O'Brien # # $FreeBSD$ # SNAPDATE= 2004-08-10 SNAPVER= ${SNAPDATE:S/-//g} PORTNAME= gdb PORTVERSION= 6 PORTREVISION= ${SNAPVER} CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_SOURCEWARE:S/$/:sw/} \ ${MASTER_SITE_LOCAL:S/$/:local/} MASTER_SITE_SUBDIR= gdb/snapshots/current/:sw obrien/:local DISTNAME= gdb+dejagnu-weekly-${SNAPVER} DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:sw,local PATCH_SITES= ${MASTER_SITE_LOCAL} PATCH_SITE_SUBDIR= obrien #PATCHFILES= gdb60_xfree-loadmod.diff MAINTAINER= obrien@FreeBSD.org COMMENT= GNU GDB 6 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 -DKGDB .include .if ${ARCH} == "ia64" || ${ARCH} == "sparc64" || ${ARCH} == "alpha" BROKEN= "Does not build on ia64, sparc64 or alpha" .endif .if ${OSVERSION} < 500000 CFLAGS+= -include ${FILESDIR}/fbsd4.h .endif .if ${ARCH} == "amd64" CONFIGURE_TARGET= x86_64-portbld-freebsd${OSREL} .endif post-patch: @${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 pre-configure: cd ${WRKSRC} ; ${RM} -rf dejagnu expect readline sim tcl texinfo .for f in freebsd-uthread.c kvm-fbsd.c kvm-fbsd-${ARCH}.h ${LN} -sf ${FILESDIR}/${f} ${WRKSRC}/gdb/${f:C/-${ARCH}//} .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}/ \ | ${GREP} gdb+dejagnu-weekly .include elliptic-6.5.4 FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
Commit message (Expand)AuthorAgeFilesLines
* . Update to the 7u76 docs.glewis2015-03-081-2/+2
* Update to 7u60.jkim2014-06-101-2/+2
* . Update to 7u45.glewis2013-10-241-2/+2
* . Update to 7u40.glewis2013-09-191-2/+2
* . Update to 7u25 docs.glewis2013-08-191-2/+2