--- devel/avr-gdb/Makefile (revision 404073) +++ devel/avr-gdb/Makefile (working copy) @@ -3,14 +3,14 @@ PORTNAME= gdb PORTVERSION= 7.3.1 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= devel MASTER_SITES= GNU PKGNAMEPREFIX= avr- -DISTNAME= gdb-${PORTVERSION} MAINTAINER= joerg@FreeBSD.org COMMENT= GNU GDB for the AVR target + LIB_DEPENDS= libexpat.so:${PORTSDIR}/textproc/expat2 USES= gmake tar:bzip2 @@ -19,6 +19,20 @@ CONFIGURE_ARGS= --target=avr --program-prefix=avr --disable-nls \ --disable-werror +PLIST_FILES= bin/avr-gdb + +OPTIONS_DEFINE= PYTHON +OPTIONS_DEFAULT=PYTHON + +.include + +.if ${PORT_OPTIONS:MPYTHON} +USES+= python +CONFIGURE_ARGS+= --with-python=${PYTHON_CMD} +.else +CONFIGURE_ARGS+= --without-python +.endif + pre-configure: cd ${WRKSRC} ; ${RM} -rf dejagnu expect tcl texinfo