openbsd-ports/devel/gdb/Makefile
robert 0655f19a42 Add a port for newer gdb so that people can debug nasty stuff like Mesa
and chromium. Not linked to the build yet, but it works.
2011-07-07 00:36:00 +00:00

36 lines
651 B
Makefile

# $OpenBSD: Makefile,v 1.6 2011/07/07 00:36:00 robert Exp $
ONLY_FOR_ARCHS= amd64 i386
COMMENT= GNU debugger
CATEGORIES= devel
DISTNAME= gdb-7.2
MASTER_SITES= ${MASTER_SITE_GNU:=gdb/}
HOMEPAGE= http://www.gnu.org/software/gdb/
# GPLv2 and GPLv3
PERMIT_PACKAGE_FTP= Yes
PERMIT_PACKAGE_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
MODULES= devel/gettext
MODGNU_CONFIG_GUESS_DIRS= ${WRKSRC} ${WRKSRC}/gdb
WANTLIB+= c kvm m ncurses z
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS= --program-transform-name=s,^,e, \
--disable-nls \
--enable-target=all \
--without-expat \
--without-python
USE_GMAKE= Yes
.include <bsd.port.mk>