openbsd-ports/devel/gdb/Makefile

44 lines
868 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.19 2011/12/22 20:27:31 pascal Exp $
COMMENT= GNU debugger
CATEGORIES= devel
DISTNAME= gdb-7.2
REVISION= 7
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
MASTER_SITES= ${MASTER_SITE_GNU:=gdb/} \
http://distfiles.nl/
DIST_SUBDIR= gdb
MODGNU_CONFIG_GUESS_DIRS= ${WRKSRC} ${WRKSRC}/gdb
WANTLIB += c kvm m ncurses z
2011-10-28 10:51:47 -04:00
#SEPARATE_BUILD = Yes
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS= --program-transform-name=s,^,e, \
--disable-nls \
--enable-target=all \
--with-python=${MODPY_BIN}
USE_GMAKE= Yes
MODULES += lang/python
WANTLIB += expat ${MODPY_WANTLIB} pthread util
LIB_DEPENDS += ${MODPY_LIB_DEPENDS}
MODPY_BUILDDEP = No
post-extract:
perl -pi -e 's/\014//g' ${WRKSRC}/gdb/amd64obsd-tdep.c
.include <bsd.port.mk>